From 35752dadb601a0d0961740519e7590c202f722c2 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 16 Aug 2019 07:44:08 -0500 Subject: [PATCH] lsteamclient: Generate 1.45 support --- ...List_STEAMAPPLIST_INTERFACE_VERSION001.cpp | 6 +- ...et_STEAMAPPTICKET_INTERFACE_VERSION001.cpp | 8 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION008.cpp | 6 +- .../cppISteamClient_SteamClient018.cpp | 6 +- ...cppISteamController_SteamController007.cpp | 11 +- .../cppISteamController_SteamController007.h | 1 + .../cppISteamFriends_SteamFriends017.cpp | 6 +- ...ameCoordinator_SteamGameCoordinator001.cpp | 8 +- ...teamGameSearch_SteamMatchGameSearch001.cpp | 6 +- ...ameServerStats_SteamGameServerStats001.cpp | 8 +- ...cppISteamGameServer_SteamGameServer012.cpp | 8 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp | 6 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp | 6 +- lsteamclient/cppISteamInput_SteamInput001.cpp | 11 +- lsteamclient/cppISteamInput_SteamInput001.h | 1 + ...nventory_STEAMINVENTORY_INTERFACE_V003.cpp | 6 +- ...kingServers_SteamMatchMakingServers002.cpp | 6 +- ...pISteamMatchmaking_SteamMatchMaking009.cpp | 6 +- ..._STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp | 6 +- ...mMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp | 6 +- ...rkingSockets_SteamNetworkingSockets003.cpp | 159 ++ ...workingSockets_SteamNetworkingSockets003.h | 31 + ...etworkingUtils_SteamNetworkingUtils002.cpp | 120 ++ ...mNetworkingUtils_SteamNetworkingUtils002.h | 21 + ...cppISteamNetworking_SteamNetworking005.cpp | 6 +- ...MPARENTALSETTINGS_INTERFACE_VERSION001.cpp | 8 +- .../cppISteamParties_SteamParties002.cpp | 30 +- .../cppISteamParties_SteamParties002.h | 8 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp | 6 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp | 6 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp | 407 +++++ ...pISteamUGC_STEAMUGC_INTERFACE_VERSION013.h | 78 + ...ts_STEAMUSERSTATS_INTERFACE_VERSION011.cpp | 12 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION011.h | 2 +- lsteamclient/cppISteamUser_SteamUser020.cpp | 11 +- lsteamclient/cppISteamUser_SteamUser020.h | 1 + lsteamclient/cppISteamUtils_SteamUtils009.cpp | 21 +- lsteamclient/cppISteamUtils_SteamUtils009.h | 3 + ...pISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp | 6 +- lsteamclient/gen_wrapper.py | 5 + lsteamclient/steam_defs.h | 8 +- lsteamclient/steamclient_manual_145.cpp | 43 + .../steamworks_sdk_145/isteamappticket.h | 2 +- .../isteamnetworkingsockets.h | 12 +- .../isteamnetworkingutils.h | 16 +- .../steamworks_sdk_145/steamnetworkingtypes.h | 86 +- lsteamclient/struct_converters.h | 86 + lsteamclient/struct_converters_144.cpp | 1316 --------------- lsteamclient/struct_converters_145.cpp | 1419 +++++++++++++++++ lsteamclient/winISteamController.c | 8 + lsteamclient/winISteamInput.c | 8 + lsteamclient/winISteamNetworkingSockets.c | 280 ++++ lsteamclient/winISteamNetworkingUtils.c | 200 +++ lsteamclient/winISteamParties.c | 8 +- lsteamclient/winISteamUGC.c | 667 ++++++++ lsteamclient/winISteamUser.c | 8 + lsteamclient/winISteamUserStats.c | 2 +- lsteamclient/winISteamUtils.c | 24 + lsteamclient/win_constructors.h | 5 +- lsteamclient/win_constructors_table.dat | 5 +- 60 files changed, 3784 insertions(+), 1488 deletions(-) create mode 100644 lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.cpp create mode 100644 lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.h create mode 100644 lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp create mode 100644 lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h create mode 100644 lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp create mode 100644 lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h create mode 100644 lsteamclient/steamclient_manual_145.cpp create mode 100644 lsteamclient/struct_converters_145.cpp diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index 3106de2b..c1fecb52 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side) diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp index 3f6ae57a..a08d5443 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -1,12 +1,12 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamappticket.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamappticket.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #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) diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp index 18402936..b401f858 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) diff --git a/lsteamclient/cppISteamClient_SteamClient018.cpp b/lsteamclient/cppISteamClient_SteamClient018.cpp index 1050990d..c966e884 100644 --- a/lsteamclient/cppISteamClient_SteamClient018.cpp +++ b/lsteamclient/cppISteamClient_SteamClient018.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamClient_SteamClient018.h" HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *linux_side) diff --git a/lsteamclient/cppISteamController_SteamController007.cpp b/lsteamclient/cppISteamController_SteamController007.cpp index 519562b7..9b89c771 100644 --- a/lsteamclient/cppISteamController_SteamController007.cpp +++ b/lsteamclient/cppISteamController_SteamController007.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamController_SteamController007.h" bool cppISteamController_SteamController007_Init(void *linux_side) @@ -173,6 +173,11 @@ EControllerActionOrigin cppISteamController_SteamController007_TranslateActionOr return ((ISteamController*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EControllerActionOrigin)eSourceOrigin); } +bool cppISteamController_SteamController007_GetControllerBindingRevision(void *linux_side, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +{ + return ((ISteamController*)linux_side)->GetControllerBindingRevision((ControllerHandle_t)controllerHandle, (int *)pMajor, (int *)pMinor); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamController_SteamController007.h b/lsteamclient/cppISteamController_SteamController007.h index f8f9fc03..b1f87430 100644 --- a/lsteamclient/cppISteamController_SteamController007.h +++ b/lsteamclient/cppISteamController_SteamController007.h @@ -31,3 +31,4 @@ extern const char * cppISteamController_SteamController007_GetStringForXboxOrigi 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 *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.cpp b/lsteamclient/cppISteamFriends_SteamFriends017.cpp index 1864fad8..aad120b7 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends017.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends017.h" const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *linux_side) diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp index 879b2e81..ab46b445 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -1,12 +1,12 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamgamecoordinator.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamgamecoordinator.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamGameCoordinator_SteamGameCoordinator001.h" EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData) diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp index 2e7d355c..440dcc33 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamGameSearch_SteamMatchGameSearch001.h" EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *linux_side, const char * pchKeyToFind, const char * pchValuesToFind) diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp index fa7964cc..a52ce733 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -1,12 +1,12 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamgameserverstats.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamgameserverstats.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamGameServerStats_SteamGameServerStats001.h" SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp index bdeaf249..99232588 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp @@ -1,12 +1,12 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamgameserver.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamgameserver.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #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) diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp index 66d6aad8..9777bb56 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h" bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *linux_side) diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp index 79f828f6..c3e1fe59 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h" HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) diff --git a/lsteamclient/cppISteamInput_SteamInput001.cpp b/lsteamclient/cppISteamInput_SteamInput001.cpp index 565a39f7..1279b699 100644 --- a/lsteamclient/cppISteamInput_SteamInput001.cpp +++ b/lsteamclient/cppISteamInput_SteamInput001.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamInput_SteamInput001.h" bool cppISteamInput_SteamInput001_Init(void *linux_side) @@ -173,6 +173,11 @@ EInputActionOrigin cppISteamInput_SteamInput001_TranslateActionOrigin(void *linu return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); } +bool cppISteamInput_SteamInput001_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +{ + return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamInput_SteamInput001.h b/lsteamclient/cppISteamInput_SteamInput001.h index 040aee3e..7f60a085 100644 --- a/lsteamclient/cppISteamInput_SteamInput001.h +++ b/lsteamclient/cppISteamInput_SteamInput001.h @@ -31,3 +31,4 @@ extern const char * cppISteamInput_SteamInput001_GetStringForXboxOrigin(void *, 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 *); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp index cf2f1d79..898a5626 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h" EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index 4bb6f3fc..272f2b45 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp index fced21a8..fa256e06 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking009.h" int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side) diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp index 9b165174..814245c5 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char * pchName) diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp index 42b27c34..73a4422c 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.cpp new file mode 100644 index 00000000..34c3052f --- /dev/null +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.cpp @@ -0,0 +1,159 @@ +#include "steam_defs.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamnetworkingsockets.h" +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_145 +#include "struct_converters.h" +#include "cppISteamNetworkingSockets_SteamNetworkingSockets003.h" +HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress) +{ + return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress); +} + +HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address) +{ + return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address); +} + +HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P(void *linux_side, int nVirtualPort) +{ + return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort); +} + +HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +{ + return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort); +} + +EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +{ + return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +{ + return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +{ + return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +{ + return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); +} + +int64 cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); +} + +void cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +{ + ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); +} + +EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) +{ + return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags); +} + +EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +{ + return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); +} + +int cppISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +{ + return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); +} + +ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication(void *linux_side) +{ + return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); +} + +ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); +} + +bool cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +{ + return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); +} + +int cppISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +{ + return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); +} + +HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +{ + return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort); +} + +uint16 cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort(void *linux_side) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); +} + +SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID(void *linux_side) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); +} + +EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); +} + +HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort) +{ + return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort); +} + +EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +{ + return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.h new file mode 100644 index 00000000..b8773aa9 --- /dev/null +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets003.h @@ -0,0 +1,31 @@ +extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *); +extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *); +extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P(void *, int); +extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P(void *, const SteamNetworkingIdentity *, int); +extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection(void *, HSteamNetConnection); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket(void *, HSteamListenSocket); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData(void *, HSteamNetConnection, int64); +extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData(void *, HSteamNetConnection); +extern void cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName(void *, HSteamNetConnection, const char *); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName(void *, HSteamNetConnection, char *, int); +extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int); +extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection(void *, HSteamNetConnection); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_145 **, int); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_145 **, int); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity(void *, SteamNetworkingIdentity *); +extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication(void *); +extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); +extern bool cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); +extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int); +extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort(void *); +extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID(void *); +extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); +extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket(void *, int); +extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp new file mode 100644 index 00000000..5dfbd853 --- /dev/null +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp @@ -0,0 +1,120 @@ +#include "steam_defs.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamnetworkingutils.h" +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_145 +#include "struct_converters.h" +#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h" +ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); +} + +float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t * result) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +{ + return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t * remoteLocation) +{ + return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation); +} + +void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +{ + ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString((const SteamNetworkPingLocation_t *)location, (char *)pszBuf, (int)cchBufSize); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *linux_side, const char * pszString, SteamNetworkPingLocation_t * result) +{ + return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +{ + return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *linux_side) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); +} + +int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *linux_side, SteamNetworkingPOPID * list, int nListSz) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); +} + +SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *linux_side) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); +} + +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +{ + pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); + ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +{ + return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); +} + +ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); +} + +ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *linux_side) +{ + return ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); +} + +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +{ + ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString((const SteamNetworkingIPAddr *)addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr * pAddr, const char * pszStr) +{ + return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); +} + +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +{ + ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString((const SteamNetworkingIdentity *)identity, (char *)buf, (size_t)cbBuf); +} + +bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity * pIdentity, const char * pszStr) +{ + return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h new file mode 100644 index 00000000..2bcb5b79 --- /dev/null +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h @@ -0,0 +1,21 @@ +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 *); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp index 0ff7c487..6ffc607f 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #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) diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp index bc705f10..82c159a5 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -1,12 +1,12 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamparentalsettings.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamworks_sdk_145/isteamparentalsettings.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side) diff --git a/lsteamclient/cppISteamParties_SteamParties002.cpp b/lsteamclient/cppISteamParties_SteamParties002.cpp index 744ed1eb..90c80c79 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.cpp +++ b/lsteamclient/cppISteamParties_SteamParties002.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamParties_SteamParties002.h" uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side) @@ -18,12 +18,12 @@ PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *linux_si return ((ISteamParties*)linux_side)->GetBeaconByIndex((uint32)unIndex); } -bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_144 * pLocation, char * pchMetadata, int cchMetadata) +bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_145 * pLocation, char * pchMetadata, int cchMetadata) { SteamPartyBeaconLocation_t lin_pLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_144(pLocation, &lin_pLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_145(pLocation, &lin_pLocation); bool retval = ((ISteamParties*)linux_side)->GetBeaconDetails((PartyBeaconID_t)ulBeaconID, (CSteamID *)pSteamIDBeaconOwner, &lin_pLocation, (char *)pchMetadata, (int)cchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pLocation, pLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_145(&lin_pLocation, pLocation); return retval; } @@ -37,21 +37,21 @@ bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux return ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations); } -bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_144 * pLocationList, uint32 uMaxNumLocations) +bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_145 * pLocationList, uint32 uMaxNumLocations) { SteamPartyBeaconLocation_t lin_pLocationList; - win_to_lin_struct_SteamPartyBeaconLocation_t_144(pLocationList, &lin_pLocationList); + win_to_lin_struct_SteamPartyBeaconLocation_t_145(pLocationList, &lin_pLocationList); bool retval = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations); - lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pLocationList, pLocationList); + lin_to_win_struct_SteamPartyBeaconLocation_t_145(&lin_pLocationList, pLocationList); return retval; } -SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_144 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_145 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) { SteamPartyBeaconLocation_t lin_pBeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_144(pBeaconLocation, &lin_pBeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_145(pBeaconLocation, &lin_pBeaconLocation); SteamAPICall_t retval = ((ISteamParties*)linux_side)->CreateBeacon((uint32)unOpenSlots, &lin_pBeaconLocation, (const char *)pchConnectString, (const char *)pchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pBeaconLocation, pBeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_145(&lin_pBeaconLocation, pBeaconLocation); return retval; } @@ -75,12 +75,12 @@ bool cppISteamParties_SteamParties002_DestroyBeacon(void *linux_side, PartyBeaco return ((ISteamParties*)linux_side)->DestroyBeacon((PartyBeaconID_t)ulBeacon); } -bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_144 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_145 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) { SteamPartyBeaconLocation_t lin_BeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_144(&BeaconLocation, &lin_BeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_145(&BeaconLocation, &lin_BeaconLocation); bool retval = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut); - lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_BeaconLocation, &BeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_145(&lin_BeaconLocation, &BeaconLocation); return retval; } diff --git a/lsteamclient/cppISteamParties_SteamParties002.h b/lsteamclient/cppISteamParties_SteamParties002.h index 128e2a29..4b4268da 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.h +++ b/lsteamclient/cppISteamParties_SteamParties002.h @@ -1,12 +1,12 @@ 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_144 *, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_145 *, 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_144 *, uint32); -extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_144 *, const char *, const char *); +extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_145 *, uint32); +extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_145 *, 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_144, ESteamPartyBeaconLocationData, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_145, ESteamPartyBeaconLocationData, char *, int); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp index ff4d2c0d..2d10e10e 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #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) diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index 6830a139..57c0aa09 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #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) diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp new file mode 100644 index 00000000..d015a734 --- /dev/null +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp @@ -0,0 +1,407 @@ +#include "steam_defs.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_145 +#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) +{ + return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); +} + +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)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) +{ + return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); +} + +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_145 * pDetails) +{ + SteamUGCDetails_t lin_pDetails; + win_to_lin_struct_SteamUGCDetails_t_145(pDetails, &lin_pDetails); + bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); + lin_to_win_struct_SteamUGCDetails_t_145(&lin_pDetails, pDetails); + return retval; +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)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) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)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) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +{ + return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +{ + return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +{ + return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +{ + return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +{ + return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +{ + return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +{ + return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +{ + return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +{ + return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +{ + return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +{ + return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +{ + return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +{ + return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +{ + return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +{ + return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +{ + return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +{ + return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +{ + return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +{ + return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); +} + +UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +{ + return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +{ + return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +{ + return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +{ + return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +{ + return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +{ + return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +{ + return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +{ + return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +{ + return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +{ + return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +{ + return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +{ + return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +{ + return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +{ + return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +{ + return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); +} + +EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +{ + return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +{ + return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +{ + return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +{ + return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +{ + return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +{ + return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); +} + +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(void *linux_side, bool bSuspend) +{ + ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h new file mode 100644 index 00000000..1fc897c6 --- /dev/null +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h @@ -0,0 +1,78 @@ +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_145 *); +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); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp index 18fc4556..a67bb81c 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side) @@ -158,12 +158,12 @@ SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLe return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_144 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_145 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_144(pLeaderboardEntry, &lin_pLeaderboardEntry); + win_to_lin_struct_LeaderboardEntry_t_145(pLeaderboardEntry, &lin_pLeaderboardEntry); bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_144(&lin_pLeaderboardEntry, pLeaderboardEntry); + lin_to_win_struct_LeaderboardEntry_t_145(&lin_pLeaderboardEntry, pLeaderboardEntry); return retval; } diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h index ff124e95..3151e38b 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h @@ -28,7 +28,7 @@ extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSIO 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_144 *, int32 *, int); +extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_145 *, 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 *); diff --git a/lsteamclient/cppISteamUser_SteamUser020.cpp b/lsteamclient/cppISteamUser_SteamUser020.cpp index 60e4bb7f..920a83e5 100644 --- a/lsteamclient/cppISteamUser_SteamUser020.cpp +++ b/lsteamclient/cppISteamUser_SteamUser020.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamUser_SteamUser020.h" HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *linux_side) @@ -158,6 +158,11 @@ SteamAPICall_t cppISteamUser_SteamUser020_GetMarketEligibility(void *linux_side) return ((ISteamUser*)linux_side)->GetMarketEligibility(); } +SteamAPICall_t cppISteamUser_SteamUser020_GetDurationControl(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetDurationControl(); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamUser_SteamUser020.h b/lsteamclient/cppISteamUser_SteamUser020.h index 0488748b..22f141a3 100644 --- a/lsteamclient/cppISteamUser_SteamUser020.h +++ b/lsteamclient/cppISteamUser_SteamUser020.h @@ -28,3 +28,4 @@ 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 *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.cpp b/lsteamclient/cppISteamUtils_SteamUtils009.cpp index a67ec65a..989bd204 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils009.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils009.h" uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *linux_side) @@ -158,6 +158,21 @@ void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(void *linux_side, ((ISteamUtils*)linux_side)->SetVRHeadsetStreamingEnabled((bool)bEnabled); } +bool cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(void *linux_side) +{ + return ((ISteamUtils*)linux_side)->IsSteamChinaLauncher(); +} + +bool cppISteamUtils_SteamUtils009_InitFilterText(void *linux_side) +{ + return ((ISteamUtils*)linux_side)->InitFilterText(); +} + +int cppISteamUtils_SteamUtils009_FilterText(void *linux_side, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char * pchInputMessage, bool bLegalOnly) +{ + return ((ISteamUtils*)linux_side)->FilterText((char *)pchOutFilteredText, (uint32)nByteSizeOutFilteredText, (const char *)pchInputMessage, (bool)bLegalOnly); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.h b/lsteamclient/cppISteamUtils_SteamUtils009.h index 0458f77c..4e4a1777 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.h +++ b/lsteamclient/cppISteamUtils_SteamUtils009.h @@ -28,3 +28,6 @@ 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); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index bac81536..3c5ba227 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -1,11 +1,11 @@ #include "steam_defs.h" -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_144 +#define SDKVER_145 #include "struct_converters.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID) diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index bb12bfe8..248381b0 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -15,6 +15,7 @@ import re import math sdk_versions = [ + "145", "144", "143y", "143x", @@ -173,6 +174,10 @@ manually_handled_methods = { "cppISteamNetworkingSockets_SteamNetworkingSockets002": [ "ReceiveMessagesOnConnection", "ReceiveMessagesOnListenSocket" + ], + "cppISteamNetworkingSockets_SteamNetworkingSockets003": [ + "ReceiveMessagesOnConnection", + "ReceiveMessagesOnListenSocket" ] } diff --git a/lsteamclient/steam_defs.h b/lsteamclient/steam_defs.h index 22586555..ec0885b4 100644 --- a/lsteamclient/steam_defs.h +++ b/lsteamclient/steam_defs.h @@ -92,7 +92,8 @@ typedef uint32_t EUserUGCList, ESteamNetworkingSocketsDebugOutputType, ESteamNetworkingGetConfigValueResult, EGameSearchErrorCode_t, - EPlayerResult_t + EPlayerResult_t, + ESteamNetworkingAvailability ; /* structs below are PODs with identical size & layout across platforms */ @@ -185,7 +186,7 @@ typedef struct SteamNetworkingIdentity #pragma pack( pop ) -/* never dereferenced */ +/* never dereferenced and needs no conversion */ typedef struct FriendGameInfo_t FriendGameInfo_t; typedef struct P2PSessionState_t P2PSessionState_t; typedef struct SteamParamStringArray_t SteamParamStringArray_t; @@ -204,6 +205,9 @@ typedef struct SteamNetConnectionInfo_t SteamNetConnectionInfo_t; typedef struct SteamNetworkingQuickConnectionStatus SteamNetworkingQuickConnectionStatus; typedef struct SteamDatagramRelayAuthTicket SteamDatagramRelayAuthTicket; typedef struct SteamDatagramHostedAddress SteamDatagramHostedAddress; +typedef struct SteamNetAuthenticationStatus_t SteamNetAuthenticationStatus_t; +typedef struct SteamDatagramGameCoordinatorServerLogin SteamDatagramGameCoordinatorServerLogin; +typedef struct SteamRelayNetworkStatus_t SteamRelayNetworkStatus_t; typedef uint32 (*SteamAPI_CheckCallbackRegistered_t)(int cb); typedef void *SteamAPIWarningMessageHook_t; //already cdecl, no need for conversion(?) diff --git a/lsteamclient/steamclient_manual_145.cpp b/lsteamclient/steamclient_manual_145.cpp new file mode 100644 index 00000000..415273f0 --- /dev/null +++ b/lsteamclient/steamclient_manual_145.cpp @@ -0,0 +1,43 @@ +extern "C" { +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +} + +#include "steam_defs.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/isteamnetworkingsockets.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamclient_private.h" + +extern "C" { +#define SDKVER_145 +#include "struct_converters.h" + +#include "queue.h" + +/* forward to 002 implementation */ +struct winSteamNetworkingMessage_t_144; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" + +int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection( + void *linux_side, HSteamNetConnection hConn, + winSteamNetworkingMessage_t_145 **ppOutMessages, int nMaxMessages) +{ + return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(linux_side, hConn, + (winSteamNetworkingMessage_t_144**)ppOutMessages, nMaxMessages); +} + +int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket( + void *linux_side, HSteamListenSocket hSocket, + winSteamNetworkingMessage_t_145 **ppOutMessages, int nMaxMessages) +{ + return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(linux_side, hSocket, + (winSteamNetworkingMessage_t_144**)ppOutMessages, nMaxMessages); +} + +} diff --git a/lsteamclient/steamworks_sdk_145/isteamappticket.h b/lsteamclient/steamworks_sdk_145/isteamappticket.h index 6f239060..30399263 100644 --- a/lsteamclient/steamworks_sdk_145/isteamappticket.h +++ b/lsteamclient/steamworks_sdk_145/isteamappticket.h @@ -8,7 +8,7 @@ #ifndef ISTEAMAPPTICKET_H #define ISTEAMAPPTICKET_H -#pragma once +#include "steamtypes.h" //----------------------------------------------------------------------------- // Purpose: hand out a reasonable "future proof" view of an app ownership ticket diff --git a/lsteamclient/steamworks_sdk_145/isteamnetworkingsockets.h b/lsteamclient/steamworks_sdk_145/isteamnetworkingsockets.h index afa57a1f..54988e63 100644 --- a/lsteamclient/steamworks_sdk_145/isteamnetworkingsockets.h +++ b/lsteamclient/steamworks_sdk_145/isteamnetworkingsockets.h @@ -54,7 +54,7 @@ public: /// /// When a client attempts to connect, a SteamNetConnectionStatusChangedCallback_t /// will be posted. The connection will be in the connecting state. - virtual HSteamListenSocket CreateListenSocketIP( const SteamNetworkingIPAddr &localAddress ) = 0; + virtual HSteamListenSocket CreateListenSocketIP( const SteamNetworkingIPAddr *localAddress ) = 0; /// Creates a connection and begins talking to a "server" over UDP at the /// given IPv4 or IPv6 address. The remote host must be listening with a @@ -74,7 +74,7 @@ public: /// distributed through some other out-of-band mechanism), you don't have any /// way of knowing who is actually on the other end, and thus are vulnerable to /// man-in-the-middle attacks. - virtual HSteamNetConnection ConnectByIPAddress( const SteamNetworkingIPAddr &address ) = 0; + virtual HSteamNetConnection ConnectByIPAddress( const SteamNetworkingIPAddr *address ) = 0; #ifdef STEAMNETWORKINGSOCKETS_ENABLE_SDR /// Like CreateListenSocketIP, but clients will connect using ConnectP2P @@ -100,7 +100,7 @@ public: /// /// If you use this, you probably want to call ISteamNetworkingUtils::InitRelayNetworkAccess() /// when your app initializes - virtual HSteamNetConnection ConnectP2P( const SteamNetworkingIdentity &identityRemote, int nVirtualPort ) = 0; + virtual HSteamNetConnection ConnectP2P( const SteamNetworkingIdentity *identityRemote, int nVirtualPort ) = 0; #endif /// Accept an incoming connection that has been received on a listen socket. @@ -383,7 +383,7 @@ public: /// /// Typically this is useful just to confirm that you have a ticket, before you /// call ConnectToHostedDedicatedServer to connect to the server. - virtual int FindRelayAuthTicketForServer( const SteamNetworkingIdentity &identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket ) = 0; + virtual int FindRelayAuthTicketForServer( const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket ) = 0; /// Client call to connect to a server hosted in a Valve data center, on the specified virtual /// port. You must have placed a ticket for this server into the cache, or else this connect attempt will fail! @@ -394,7 +394,7 @@ public: /// /// If you use this, you probably want to call ISteamNetworkingUtils::InitRelayNetworkAccess() /// when your app initializes - virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity &identityTarget, int nVirtualPort ) = 0; + virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity *identityTarget, int nVirtualPort ) = 0; // // Servers hosted in data centers known to the Valve relay network @@ -519,6 +519,7 @@ extern "C" { inline ISteamNetworkingSockets *SteamGameServerNetworkingSockets(); STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamNetworkingSockets *, SteamGameServerNetworkingSockets, STEAMNETWORKINGSOCKETS_INTERFACE_VERSION ); #endif +} /// Callback struct used to notify when a connection has changed state #if defined( VALVE_CALLBACK_PACK_SMALL ) @@ -598,6 +599,5 @@ struct SteamNetAuthenticationStatus_t #pragma pack( pop ) -} #endif // ISTEAMNETWORKINGSOCKETS diff --git a/lsteamclient/steamworks_sdk_145/isteamnetworkingutils.h b/lsteamclient/steamworks_sdk_145/isteamnetworkingutils.h index 02f6adf4..3296fe5e 100644 --- a/lsteamclient/steamworks_sdk_145/isteamnetworkingutils.h +++ b/lsteamclient/steamworks_sdk_145/isteamnetworkingutils.h @@ -81,7 +81,7 @@ public: /// /// This always return the most up-to-date information we have available /// right now, even if we are in the middle of re-calculating ping times. - virtual float GetLocalPingLocation( SteamNetworkPingLocation_t &result ) = 0; + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t *result ) = 0; /// Estimate the round-trip latency between two arbitrary locations, in /// milliseconds. This is a conservative estimate, based on routing through @@ -105,7 +105,7 @@ public: /// /// Do you need to be able to do this from a backend/matchmaking server? /// You are looking for the "ticketgen" library. - virtual int EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t &location1, const SteamNetworkPingLocation_t &location2 ) = 0; + virtual int EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2 ) = 0; /// Same as EstimatePingTime, but assumes that one location is the local host. /// This is a bit faster, especially if you need to calculate a bunch of @@ -115,17 +115,17 @@ public: /// GetLocalPingLocation with EstimatePingTimeBetweenTwoLocations. That's because /// this function uses a slightly more complete set of information about what /// route would be taken. - virtual int EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t &remoteLocation ) = 0; + virtual int EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t *remoteLocation ) = 0; /// Convert a ping location into a text format suitable for sending over the wire. /// The format is a compact and human readable. However, it is subject to change /// so please do not parse it yourself. Your buffer must be at least /// k_cchMaxSteamNetworkingPingLocationString bytes. - virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t &location, char *pszBuf, int cchBufSize ) = 0; + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize ) = 0; /// Parse back SteamNetworkPingLocation_t string. Returns false if we couldn't understand /// the string. - virtual bool ParsePingLocationString( const char *pszString, SteamNetworkPingLocation_t &result ) = 0; + virtual bool ParsePingLocationString( const char *pszString, SteamNetworkPingLocation_t *result ) = 0; /// Check if the ping data of sufficient recency is available, and if /// it's too old, start refreshing it. @@ -257,9 +257,9 @@ public: // String conversions. You'll usually access these using the respective // inline methods. - virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr &addr, char *buf, size_t cbBuf, bool bWithPort ) = 0; + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort ) = 0; virtual bool SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *pAddr, const char *pszStr ) = 0; - virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity &identity, char *buf, size_t cbBuf ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf ) = 0; virtual bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *pIdentity, const char *pszStr ) = 0; protected: @@ -333,10 +333,12 @@ inline bool ISteamNetworkingUtils::SetConnectionConfigValueFloat( HSteamNetConne inline bool ISteamNetworkingUtils::SetConnectionConfigValueString( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, const char *val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Connection, hConn, k_ESteamNetworkingConfig_String, val ); } #if !defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) && defined( STEAMNETWORKINGSOCKETS_STEAMCLIENT ) +/* inline void SteamNetworkingIPAddr::ToString( char *buf, size_t cbBuf, bool bWithPort ) const { SteamNetworkingUtils()->SteamNetworkingIPAddr_ToString( *this, buf, cbBuf, bWithPort ); } inline bool SteamNetworkingIPAddr::ParseString( const char *pszStr ) { return SteamNetworkingUtils()->SteamNetworkingIPAddr_ParseString( this, pszStr ); } inline void SteamNetworkingIdentity::ToString( char *buf, size_t cbBuf ) const { SteamNetworkingUtils()->SteamNetworkingIdentity_ToString( *this, buf, cbBuf ); } inline bool SteamNetworkingIdentity::ParseString( const char *pszStr ) { return SteamNetworkingUtils()->SteamNetworkingIdentity_ParseString( this, pszStr ); } +*/ #endif #endif // ISTEAMNETWORKINGUTILS diff --git a/lsteamclient/steamworks_sdk_145/steamnetworkingtypes.h b/lsteamclient/steamworks_sdk_145/steamnetworkingtypes.h index 2507acba..51c59032 100644 --- a/lsteamclient/steamworks_sdk_145/steamnetworkingtypes.h +++ b/lsteamclient/steamworks_sdk_145/steamnetworkingtypes.h @@ -188,7 +188,7 @@ struct SteamNetworkingIPAddr uint16 m_ffff; uint8 m_ip[ 4 ]; // NOTE: As bytes, i.e. network byte order } m_ipv4; - }; + } ip; uint16 m_port; // Host byte order /// See if two addresses are identical @@ -260,7 +260,7 @@ struct SteamNetworkingIdentity char m_szUnknownRawString[ k_cchMaxString ]; SteamNetworkingIPAddr m_ip; uint32 m_reserved[ 32 ]; // Pad structure to leave easy room for future expansion - }; + } data; }; #pragma pack(pop) @@ -1096,7 +1096,7 @@ inline SteamNetworkingPOPID CalculateSteamNetworkingPOPIDFromString( const char template inline void GetSteamNetworkingLocationPOPStringFromID( SteamNetworkingPOPID id, char (&szCode)[N] ) { - static_assert( N >= 5, "Fixed-size buffer not big enough to hold SDR POP ID" ); +// static_assert( N >= 5, "Fixed-size buffer not big enough to hold SDR POP ID" ); szCode[0] = char( id >> 16U ); szCode[1] = char( id >> 8U ); szCode[2] = char( id ); @@ -1115,45 +1115,45 @@ const SteamNetworkingPOPID k_SteamDatagramPOPID_dev = ( (uint32)'d' << 16U ) | ( typedef SteamNetworkingMessage_t ISteamNetworkingMessage; typedef SteamNetworkingErrMsg SteamDatagramErrMsg; -inline void SteamNetworkingIPAddr::Clear() { memset( this, 0, sizeof(*this) ); } -inline bool SteamNetworkingIPAddr::IsIPv6AllZeros() const { const uint64 *q = (const uint64 *)m_ipv6; return q[0] == 0 && q[1] == 0; } -inline void SteamNetworkingIPAddr::SetIPv6( const uint8 *ipv6, uint16 nPort ) { memcpy( m_ipv6, ipv6, 16 ); m_port = nPort; } -inline void SteamNetworkingIPAddr::SetIPv4( uint32 nIP, uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0xffff; m_ipv4.m_ip[0] = uint8(nIP>>24); m_ipv4.m_ip[1] = uint8(nIP>>16); m_ipv4.m_ip[2] = uint8(nIP>>8); m_ipv4.m_ip[3] = uint8(nIP); m_port = nPort; } -inline bool SteamNetworkingIPAddr::IsIPv4() const { return m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0xffff; } -inline uint32 SteamNetworkingIPAddr::GetIPv4() const { return IsIPv4() ? ( (uint32(m_ipv4.m_ip[0])<<24) | (uint32(m_ipv4.m_ip[1])<<16) | (uint32(m_ipv4.m_ip[2])<<8) | uint32(m_ipv4.m_ip[3]) ) : 0; } -inline void SteamNetworkingIPAddr::SetIPv6LocalHost( uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0; m_ipv6[12] = 0; m_ipv6[13] = 0; m_ipv6[14] = 0; m_ipv6[15] = 1; m_port = nPort; } -inline bool SteamNetworkingIPAddr::IsLocalHost() const { return ( m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0 && m_ipv6[12] == 0 && m_ipv6[13] == 0 && m_ipv6[14] == 0 && m_ipv6[15] == 1 ) || ( GetIPv4() == 0x7f000001 ); } -inline bool SteamNetworkingIPAddr::operator==(const SteamNetworkingIPAddr &x ) const { return memcmp( this, &x, sizeof(SteamNetworkingIPAddr) ) == 0; } - -inline void SteamNetworkingIdentity::Clear() { memset( this, 0, sizeof(*this) ); } -inline bool SteamNetworkingIdentity::IsInvalid() const { return m_eType == k_ESteamNetworkingIdentityType_Invalid; } -inline void SteamNetworkingIdentity::SetSteamID( CSteamID steamID ) { SetSteamID64( steamID.ConvertToUint64() ); } -inline CSteamID SteamNetworkingIdentity::GetSteamID() const { return CSteamID( GetSteamID64() ); } -inline void SteamNetworkingIdentity::SetSteamID64( uint64 steamID ) { m_eType = k_ESteamNetworkingIdentityType_SteamID; m_cbSize = sizeof( m_steamID64 ); m_steamID64 = steamID; } -inline uint64 SteamNetworkingIdentity::GetSteamID64() const { return m_eType == k_ESteamNetworkingIdentityType_SteamID ? m_steamID64 : 0; } -inline void SteamNetworkingIdentity::SetIPAddr( const SteamNetworkingIPAddr &addr ) { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip = addr; } -inline const SteamNetworkingIPAddr *SteamNetworkingIdentity::GetIPAddr() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress ? &m_ip : NULL; } -inline void SteamNetworkingIdentity::SetLocalHost() { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip.SetIPv6LocalHost(); } -inline bool SteamNetworkingIdentity::IsLocalHost() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress && m_ip.IsLocalHost(); } -inline bool SteamNetworkingIdentity::SetGenericString( const char *pszString ) { size_t l = strlen( pszString ); if ( l >= sizeof(m_szGenericString) ) return false; - m_eType = k_ESteamNetworkingIdentityType_GenericString; m_cbSize = int(l+1); memcpy( m_szGenericString, pszString, m_cbSize ); return true; } -inline const char *SteamNetworkingIdentity::GetGenericString() const { return m_eType == k_ESteamNetworkingIdentityType_GenericString ? m_szGenericString : NULL; } -inline bool SteamNetworkingIdentity::SetGenericBytes( const void *data, size_t cbLen ) { if ( cbLen > sizeof(m_genericBytes) ) return false; - m_eType = k_ESteamNetworkingIdentityType_GenericBytes; m_cbSize = int(cbLen); memcpy( m_genericBytes, data, m_cbSize ); return true; } -inline const uint8 *SteamNetworkingIdentity::GetGenericBytes( int &cbLen ) const { if ( m_eType != k_ESteamNetworkingIdentityType_GenericBytes ) return NULL; - cbLen = m_cbSize; return m_genericBytes; } -inline bool SteamNetworkingIdentity::operator==(const SteamNetworkingIdentity &x ) const { return m_eType == x.m_eType && m_cbSize == x.m_cbSize && memcmp( m_genericBytes, x.m_genericBytes, m_cbSize ) == 0; } -inline void SteamNetworkingMessage_t::Release() { (*m_pfnRelease)( this ); } - -#if defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) || !defined( STEAMNETWORKINGSOCKETS_STEAMCLIENT ) -STEAMNETWORKINGSOCKETS_INTERFACE void SteamAPI_SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *pAddr, char *buf, size_t cbBuf, bool bWithPort ); -STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *pAddr, const char *pszStr ); -STEAMNETWORKINGSOCKETS_INTERFACE void SteamAPI_SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity &identity, char *buf, size_t cbBuf ); -STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *pIdentity, size_t sizeofIdentity, const char *pszStr ); -inline void SteamNetworkingIPAddr::ToString( char *buf, size_t cbBuf, bool bWithPort ) const { SteamAPI_SteamNetworkingIPAddr_ToString( this, buf, cbBuf, bWithPort ); } -inline bool SteamNetworkingIPAddr::ParseString( const char *pszStr ) { return SteamAPI_SteamNetworkingIPAddr_ParseString( this, pszStr ); } -inline void SteamNetworkingIdentity::ToString( char *buf, size_t cbBuf ) const { SteamAPI_SteamNetworkingIdentity_ToString( *this, buf, cbBuf ); } -inline bool SteamNetworkingIdentity::ParseString( const char *pszStr ) { return SteamAPI_SteamNetworkingIdentity_ParseString( this, sizeof(*this), pszStr ); } -#endif +//inline void SteamNetworkingIPAddr::Clear() { memset( this, 0, sizeof(*this) ); } +//inline bool SteamNetworkingIPAddr::IsIPv6AllZeros() const { const uint64 *q = (const uint64 *)m_ipv6; return q[0] == 0 && q[1] == 0; } +//inline void SteamNetworkingIPAddr::SetIPv6( const uint8 *ipv6, uint16 nPort ) { memcpy( m_ipv6, ipv6, 16 ); m_port = nPort; } +//inline void SteamNetworkingIPAddr::SetIPv4( uint32 nIP, uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0xffff; m_ipv4.m_ip[0] = uint8(nIP>>24); m_ipv4.m_ip[1] = uint8(nIP>>16); m_ipv4.m_ip[2] = uint8(nIP>>8); m_ipv4.m_ip[3] = uint8(nIP); m_port = nPort; } +//inline bool SteamNetworkingIPAddr::IsIPv4() const { return m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0xffff; } +//inline uint32 SteamNetworkingIPAddr::GetIPv4() const { return IsIPv4() ? ( (uint32(m_ipv4.m_ip[0])<<24) | (uint32(m_ipv4.m_ip[1])<<16) | (uint32(m_ipv4.m_ip[2])<<8) | uint32(m_ipv4.m_ip[3]) ) : 0; } +//inline void SteamNetworkingIPAddr::SetIPv6LocalHost( uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0; m_ipv6[12] = 0; m_ipv6[13] = 0; m_ipv6[14] = 0; m_ipv6[15] = 1; m_port = nPort; } +//inline bool SteamNetworkingIPAddr::IsLocalHost() const { return ( m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0 && m_ipv6[12] == 0 && m_ipv6[13] == 0 && m_ipv6[14] == 0 && m_ipv6[15] == 1 ) || ( GetIPv4() == 0x7f000001 ); } +//inline bool SteamNetworkingIPAddr::operator==(const SteamNetworkingIPAddr &x ) const { return memcmp( this, &x, sizeof(SteamNetworkingIPAddr) ) == 0; } +// +//inline void SteamNetworkingIdentity::Clear() { memset( this, 0, sizeof(*this) ); } +//inline bool SteamNetworkingIdentity::IsInvalid() const { return m_eType == k_ESteamNetworkingIdentityType_Invalid; } +//inline void SteamNetworkingIdentity::SetSteamID( CSteamID steamID ) { SetSteamID64( steamID.ConvertToUint64() ); } +//inline CSteamID SteamNetworkingIdentity::GetSteamID() const { return CSteamID( GetSteamID64() ); } +//inline void SteamNetworkingIdentity::SetSteamID64( uint64 steamID ) { m_eType = k_ESteamNetworkingIdentityType_SteamID; m_cbSize = sizeof( m_steamID64 ); m_steamID64 = steamID; } +//inline uint64 SteamNetworkingIdentity::GetSteamID64() const { return m_eType == k_ESteamNetworkingIdentityType_SteamID ? m_steamID64 : 0; } +//inline void SteamNetworkingIdentity::SetIPAddr( const SteamNetworkingIPAddr &addr ) { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip = addr; } +//inline const SteamNetworkingIPAddr *SteamNetworkingIdentity::GetIPAddr() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress ? &m_ip : NULL; } +//inline void SteamNetworkingIdentity::SetLocalHost() { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip.SetIPv6LocalHost(); } +//inline bool SteamNetworkingIdentity::IsLocalHost() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress && m_ip.IsLocalHost(); } +//inline bool SteamNetworkingIdentity::SetGenericString( const char *pszString ) { size_t l = strlen( pszString ); if ( l >= sizeof(m_szGenericString) ) return false; +// m_eType = k_ESteamNetworkingIdentityType_GenericString; m_cbSize = int(l+1); memcpy( m_szGenericString, pszString, m_cbSize ); return true; } +//inline const char *SteamNetworkingIdentity::GetGenericString() const { return m_eType == k_ESteamNetworkingIdentityType_GenericString ? m_szGenericString : NULL; } +//inline bool SteamNetworkingIdentity::SetGenericBytes( const void *data, size_t cbLen ) { if ( cbLen > sizeof(m_genericBytes) ) return false; +// m_eType = k_ESteamNetworkingIdentityType_GenericBytes; m_cbSize = int(cbLen); memcpy( m_genericBytes, data, m_cbSize ); return true; } +//inline const uint8 *SteamNetworkingIdentity::GetGenericBytes( int &cbLen ) const { if ( m_eType != k_ESteamNetworkingIdentityType_GenericBytes ) return NULL; +// cbLen = m_cbSize; return m_genericBytes; } +//inline bool SteamNetworkingIdentity::operator==(const SteamNetworkingIdentity &x ) const { return m_eType == x.m_eType && m_cbSize == x.m_cbSize && memcmp( m_genericBytes, x.m_genericBytes, m_cbSize ) == 0; } +//inline void SteamNetworkingMessage_t::Release() { (*m_pfnRelease)( this ); } +// +//#if defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) || !defined( STEAMNETWORKINGSOCKETS_STEAMCLIENT ) +//STEAMNETWORKINGSOCKETS_INTERFACE void SteamAPI_SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *pAddr, char *buf, size_t cbBuf, bool bWithPort ); +//STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *pAddr, const char *pszStr ); +//STEAMNETWORKINGSOCKETS_INTERFACE void SteamAPI_SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity &identity, char *buf, size_t cbBuf ); +//STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *pIdentity, size_t sizeofIdentity, const char *pszStr ); +//inline void SteamNetworkingIPAddr::ToString( char *buf, size_t cbBuf, bool bWithPort ) const { SteamAPI_SteamNetworkingIPAddr_ToString( this, buf, cbBuf, bWithPort ); } +//inline bool SteamNetworkingIPAddr::ParseString( const char *pszStr ) { return SteamAPI_SteamNetworkingIPAddr_ParseString( this, pszStr ); } +//inline void SteamNetworkingIdentity::ToString( char *buf, size_t cbBuf ) const { SteamAPI_SteamNetworkingIdentity_ToString( *this, buf, cbBuf ); } +//inline bool SteamNetworkingIdentity::ParseString( const char *pszStr ) { return SteamAPI_SteamNetworkingIdentity_ParseString( this, sizeof(*this), pszStr ); } +//#endif #endif // #ifndef STEAMNETWORKINGTYPES diff --git a/lsteamclient/struct_converters.h b/lsteamclient/struct_converters.h index 35bfb510..6aa6196f 100644 --- a/lsteamclient/struct_converters.h +++ b/lsteamclient/struct_converters.h @@ -1,3 +1,89 @@ +#if defined(SDKVER_145) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamPartyBeaconLocation_t_145 { + ESteamPartyBeaconLocationType m_eType; + uint64 m_ulLocationID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamPartyBeaconLocation_t_145 winSteamPartyBeaconLocation_t_145; +struct SteamPartyBeaconLocation_t; +extern void win_to_lin_struct_SteamPartyBeaconLocation_t_145(const struct winSteamPartyBeaconLocation_t_145 *w, struct SteamPartyBeaconLocation_t *l); +extern void lin_to_win_struct_SteamPartyBeaconLocation_t_145(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_145 *w); +#endif + +#if defined(SDKVER_145) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winLeaderboardEntry_t_145 { + CSteamID m_steamIDUser __attribute__((aligned(1))); + int32 m_nGlobalRank; + int32 m_nScore; + int32 m_cDetails; + UGCHandle_t m_hUGC; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winLeaderboardEntry_t_145 winLeaderboardEntry_t_145; +struct LeaderboardEntry_t; +extern void win_to_lin_struct_LeaderboardEntry_t_145(const struct winLeaderboardEntry_t_145 *w, struct LeaderboardEntry_t *l); +extern void lin_to_win_struct_LeaderboardEntry_t_145(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_145 *w); +#endif + +#if defined(SDKVER_145) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamUGCDetails_t_145 { + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; + EWorkshopFileType m_eFileType; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + uint32 m_rtimeAddedToUserList; + ERemoteStoragePublishedFileVisibility m_eVisibility; + bool m_bBanned; + bool m_bAcceptedForUse; + bool m_bTagsTruncated; + char m_rgchTags[1025]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + uint32 m_unVotesUp; + uint32 m_unVotesDown; + float m_flScore; + uint32 m_unNumChildren; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamUGCDetails_t_145 winSteamUGCDetails_t_145; +struct SteamUGCDetails_t; +extern void win_to_lin_struct_SteamUGCDetails_t_145(const struct winSteamUGCDetails_t_145 *w, struct SteamUGCDetails_t *l); +extern void lin_to_win_struct_SteamUGCDetails_t_145(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_145 *w); +#endif + +#if defined(SDKVER_145) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamNetworkingMessage_t_145 { + void * m_pData; + uint32 m_cbSize; + HSteamNetConnection m_conn; + SteamNetworkingIdentity m_sender __attribute__((aligned(1))); + int64 m_nConnUserData; + SteamNetworkingMicroseconds m_usecTimeReceived; + int64 m_nMessageNumber; + void *m_pfnFreeData; /*fn pointer*/ + void *m_pfnRelease; /*fn pointer*/ + int m_nChannel; + int m___nPadDummy; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamNetworkingMessage_t_145 winSteamNetworkingMessage_t_145; +struct SteamNetworkingMessage_t; +#endif + #if defined(SDKVER_144) || !defined(__cplusplus) #pragma pack( push, 8 ) struct winSteamPartyBeaconLocation_t_144 { diff --git a/lsteamclient/struct_converters_144.cpp b/lsteamclient/struct_converters_144.cpp index 1659e4e0..db80a60a 100644 --- a/lsteamclient/struct_converters_144.cpp +++ b/lsteamclient/struct_converters_144.cpp @@ -9,20 +9,6 @@ extern "C" { #define SDKVER_144 #include "struct_converters.h" -#pragma pack( push, 8 ) -struct winMicroTxnAuthorizationResponse_t_24 { - uint32 m_unAppID; - uint64 m_ulOrderID; - uint8 m_bAuthorized; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *lin, struct winMicroTxnAuthorizationResponse_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_bAuthorized = lin->m_bAuthorized; -} - void win_to_lin_struct_SteamPartyBeaconLocation_t_144(const struct winSteamPartyBeaconLocation_t_144 *win, struct SteamPartyBeaconLocation_t *lin) { lin->m_eType = win->m_eType; @@ -35,438 +21,6 @@ void lin_to_win_struct_SteamPartyBeaconLocation_t_144(const struct SteamPartyBea win->m_ulLocationID = lin->m_ulLocationID; } -#pragma pack( push, 8 ) -struct winLobbyCreated_t_16 { - EResult m_eResult; - uint64 m_ulSteamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LobbyCreated_t_16(const struct LobbyCreated_t *lin, struct winLobbyCreated_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameProgressCallback_t_16 { - EResult m_eResult; - uint64 m_ullSearchID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *lin, struct winRequestPlayersForGameProgressCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameResultCallback_t_64 { - EResult m_eResult; - uint64 m_ullSearchID; - CSteamID m_SteamIDPlayerFound __attribute__((aligned(1))); - CSteamID m_SteamIDLobby __attribute__((aligned(1))); - RequestPlayersForGameResultCallback_t::PlayerAcceptState_t m_ePlayerAcceptState; - int32 m_nPlayerIndex; - int32 m_nTotalPlayersFound; - int32 m_nTotalPlayersAcceptedGame; - int32 m_nSuggestedTeamIndex; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *lin, struct winRequestPlayersForGameResultCallback_t_64 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_SteamIDPlayerFound = lin->m_SteamIDPlayerFound; - win->m_SteamIDLobby = lin->m_SteamIDLobby; - win->m_ePlayerAcceptState = lin->m_ePlayerAcceptState; - win->m_nPlayerIndex = lin->m_nPlayerIndex; - win->m_nTotalPlayersFound = lin->m_nTotalPlayersFound; - win->m_nTotalPlayersAcceptedGame = lin->m_nTotalPlayersAcceptedGame; - win->m_nSuggestedTeamIndex = lin->m_nSuggestedTeamIndex; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameFinalResultCallback_t_24 { - EResult m_eResult; - uint64 m_ullSearchID; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *lin, struct winRequestPlayersForGameFinalResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winSubmitPlayerResultResultCallback_t_24 { - EResult m_eResult; - uint64 ullUniqueGameID; - CSteamID steamIDPlayer __attribute__((aligned(1))); -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *lin, struct winSubmitPlayerResultResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; - win->steamIDPlayer = lin->steamIDPlayer; -} - -#pragma pack( push, 8 ) -struct winEndGameResultCallback_t_16 { - EResult m_eResult; - uint64 ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *lin, struct winEndGameResultCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winJoinPartyCallback_t_280 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; - CSteamID m_SteamIDBeaconOwner __attribute__((aligned(1))); - char m_rgchConnectString[256]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *lin, struct winJoinPartyCallback_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; - win->m_SteamIDBeaconOwner = lin->m_SteamIDBeaconOwner; - memcpy(win->m_rgchConnectString, lin->m_rgchConnectString, sizeof(win->m_rgchConnectString)); -} - -#pragma pack( push, 8 ) -struct winCreateBeaconCallback_t_16 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *lin, struct winCreateBeaconCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageAppSyncProgress_t_288 { - char m_rgchCurrentFile[260]; - AppId_t m_nAppID; - uint32 m_uBytesTransferredThisChunk; - double m_dAppPercentComplete; - bool m_bUploading; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *lin, struct winRemoteStorageAppSyncProgress_t_288 *win) -{ - memcpy(win->m_rgchCurrentFile, lin->m_rgchCurrentFile, sizeof(win->m_rgchCurrentFile)); - win->m_nAppID = lin->m_nAppID; - win->m_uBytesTransferredThisChunk = lin->m_uBytesTransferredThisChunk; - win->m_dAppPercentComplete = lin->m_dAppPercentComplete; - win->m_bUploading = lin->m_bUploading; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageFileShareResult_t_280 { - EResult m_eResult; - UGCHandle_t m_hFile; - char m_rgchFilename[260]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - memcpy(win->m_rgchFilename, lin->m_rgchFilename, sizeof(win->m_rgchFilename)); -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDeletePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *lin, struct winRemoteStorageDeletePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *lin, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *lin, struct winRemoteStorageSubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - uint32 m_rgRTimeSubscribed[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *lin, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgRTimeSubscribed, lin->m_rgRTimeSubscribed, sizeof(win->m_rgRTimeSubscribed)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUnsubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *lin, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdatePublishedFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDownloadUGCResult_t_296 { - EResult m_eResult; - UGCHandle_t m_hFile; - AppId_t m_nAppID; - int32 m_nSizeInBytes; - char m_pchFileName[260]; - uint64 m_ulSteamIDOwner; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_296 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - win->m_nAppID = lin->m_nAppID; - win->m_nSizeInBytes = lin->m_nSizeInBytes; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - EWorkshopFileType m_eFileType; - bool m_bAcceptedForUse; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_eFileType = lin->m_eFileType; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - float m_rgScore[50]; - AppId_t m_nAppId; - uint32 m_unStartIndex; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); - win->m_nAppId = lin->m_nAppId; - win->m_unStartIndex = lin->m_unStartIndex; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 { - EResult m_eResult; - PublishedFileId_t m_unPublishedFileId; - int32 m_nVotesFor; - int32 m_nVotesAgainst; - int32 m_nReports; - float m_fScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *lin, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unPublishedFileId = lin->m_unPublishedFileId; - win->m_nVotesFor = lin->m_nVotesFor; - win->m_nVotesAgainst = lin->m_nVotesAgainst; - win->m_nReports = lin->m_nReports; - win->m_fScore = lin->m_fScore; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *lin, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUserVoteDetails_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopVote m_eVote; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *lin, struct winRemoteStorageUserVoteDetails_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eVote = lin->m_eVote; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSetUserPublishedFileActionResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopFileAction m_eAction; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *lin, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eAction = lin->m_eAction; -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishedFileUpdated_t_24 { - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; - uint64 m_ulUnused; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *lin, struct winRemoteStoragePublishedFileUpdated_t_24 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; - win->m_ulUnused = lin->m_ulUnused; -} - void win_to_lin_struct_LeaderboardEntry_t_144(const struct winLeaderboardEntry_t_144 *win, struct LeaderboardEntry_t *lin) { lin->m_steamIDUser = win->m_steamIDUser; @@ -485,114 +39,6 @@ void lin_to_win_struct_LeaderboardEntry_t_144(const struct LeaderboardEntry_t *l win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winLeaderboardScoreUploaded_t_32 { - uint8 m_bSuccess; - SteamLeaderboard_t m_hSteamLeaderboard; - int32 m_nScore; - uint8 m_bScoreChanged; - int m_nGlobalRankNew; - int m_nGlobalRankPrevious; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *lin, struct winLeaderboardScoreUploaded_t_32 *win) -{ - win->m_bSuccess = lin->m_bSuccess; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; - win->m_nScore = lin->m_nScore; - win->m_bScoreChanged = lin->m_bScoreChanged; - win->m_nGlobalRankNew = lin->m_nGlobalRankNew; - win->m_nGlobalRankPrevious = lin->m_nGlobalRankPrevious; -} - -#pragma pack( push, 8 ) -struct winLeaderboardUGCSet_t_16 { - EResult m_eResult; - SteamLeaderboard_t m_hSteamLeaderboard; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *lin, struct winLeaderboardUGCSet_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; -} - -#pragma pack( push, 8 ) -struct winPS3TrophiesInstalled_t_24 { - uint64 m_nGameID; - EResult m_eResult; - uint64 m_ulRequiredDiskSpace; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *lin, struct winPS3TrophiesInstalled_t_24 *win) -{ - win->m_nGameID = lin->m_nGameID; - win->m_eResult = lin->m_eResult; - win->m_ulRequiredDiskSpace = lin->m_ulRequiredDiskSpace; -} - -#pragma pack( push, 8 ) -struct winFileDetailsResult_t_40 { - EResult m_eResult; - uint64 m_ulFileSize; - uint8 m_FileSHA[20]; - uint32 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *lin, struct winFileDetailsResult_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulFileSize = lin->m_ulFileSize; - memcpy(win->m_FileSHA, lin->m_FileSHA, sizeof(win->m_FileSHA)); - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestCompleted_t_32 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - bool m_bRequestSuccessful; - EHTTPStatusCode m_eStatusCode; - uint32 m_unBodySize; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_32 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_bRequestSuccessful = lin->m_bRequestSuccessful; - win->m_eStatusCode = lin->m_eStatusCode; - win->m_unBodySize = lin->m_unBodySize; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestHeadersReceived_t_16 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *lin, struct winHTTPRequestHeadersReceived_t_16 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestDataReceived_t_24 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - uint32 m_cOffset; - uint32 m_cBytesReceived; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *lin, struct winHTTPRequestDataReceived_t_24 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_cOffset = lin->m_cOffset; - win->m_cBytesReceived = lin->m_cBytesReceived; -} - void win_to_lin_struct_SteamUGCDetails_t_144(const struct winSteamUGCDetails_t_144 *win, struct SteamUGCDetails_t *lin) { lin->m_nPublishedFileId = win->m_nPublishedFileId; @@ -653,767 +99,5 @@ void lin_to_win_struct_SteamUGCDetails_t_144(const struct SteamUGCDetails_t *lin win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9784 { - winSteamUGCDetails_t_144 m_details; - bool m_bCachedData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9784 *win) -{ - lin_to_win_struct_SteamUGCDetails_t_144(&lin->m_details, &win->m_details); - win->m_bCachedData = lin->m_bCachedData; -} - -#pragma pack( push, 8 ) -struct winCreateItemResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateItemResult_t_24(const struct CreateItemResult_t *lin, struct winCreateItemResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winItemInstalled_t_16 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_ItemInstalled_t_16(const struct ItemInstalled_t *lin, struct winItemInstalled_t_16 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winDownloadItemResult_t_24 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *lin, struct winDownloadItemResult_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; -} - -#pragma pack( push, 8 ) -struct winAddUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *lin, struct winAddUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoveUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *lin, struct winRemoveUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winAddAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *lin, struct winAddAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winRemoveAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *lin, struct winRemoveAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winGetAppDependenciesResult_t_152 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_rgAppIDs[32]; - uint32 m_nNumAppDependencies; - uint32 m_nTotalNumAppDependencies; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *lin, struct winGetAppDependenciesResult_t_152 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - memcpy(win->m_rgAppIDs, lin->m_rgAppIDs, sizeof(win->m_rgAppIDs)); - win->m_nNumAppDependencies = lin->m_nNumAppDependencies; - win->m_nTotalNumAppDependencies = lin->m_nTotalNumAppDependencies; -} - -#pragma pack( push, 8 ) -struct winDeleteItemResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *lin, struct winDeleteItemResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_56 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_56 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_20 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_20 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_32 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_32 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_28 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_28 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#pragma pack( push, 8 ) -struct winSteamInventoryStartPurchaseResult_t_24 { - EResult m_result; - uint64 m_ulOrderID; - uint64 m_ulTransID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *lin, struct winSteamInventoryStartPurchaseResult_t_24 *win) -{ - win->m_result = lin->m_result; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_ulTransID = lin->m_ulTransID; -} - -#pragma pack( push, 8 ) -struct winGSReputation_t_40 { - EResult m_eResult; - uint32 m_unReputationScore; - bool m_bBanned; - uint32 m_unBannedIP; - uint16 m_usBannedPort; - uint64 m_ulBannedGameID; - uint32 m_unBanExpires; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GSReputation_t_40(const struct GSReputation_t *lin, struct winGSReputation_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unReputationScore = lin->m_unReputationScore; - win->m_bBanned = lin->m_bBanned; - win->m_unBannedIP = lin->m_unBannedIP; - win->m_usBannedPort = lin->m_usBannedPort; - win->m_ulBannedGameID = lin->m_ulBannedGameID; - win->m_unBanExpires = lin->m_unBanExpires; -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_712 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_712 *win) -{ - win->m_hConn = lin->m_hConn; - win->m_info = lin->m_info; - win->m_eOldState = lin->m_eOldState; -} - } diff --git a/lsteamclient/struct_converters_145.cpp b/lsteamclient/struct_converters_145.cpp new file mode 100644 index 00000000..096d522d --- /dev/null +++ b/lsteamclient/struct_converters_145.cpp @@ -0,0 +1,1419 @@ +#include "steam_defs.h" +#include "steamworks_sdk_145/steam_api.h" +#include "steamworks_sdk_145/isteamgameserver.h" +#include "steamworks_sdk_145/isteamnetworkingsockets.h" +#include "steamworks_sdk_145/isteamgameserverstats.h" +#include "steamworks_sdk_145/isteamgamecoordinator.h" +#include "steamworks_sdk_145/steamnetworkingtypes.h" +#include "steamclient_private.h" +extern "C" { +#define SDKVER_145 +#include "struct_converters.h" +#pragma pack( push, 8 ) +struct winMicroTxnAuthorizationResponse_t_24 { + uint32 m_unAppID; + uint64 m_ulOrderID; + uint8 m_bAuthorized; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *lin, struct winMicroTxnAuthorizationResponse_t_24 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_ulOrderID = lin->m_ulOrderID; + win->m_bAuthorized = lin->m_bAuthorized; +} + +void win_to_lin_struct_SteamPartyBeaconLocation_t_145(const struct winSteamPartyBeaconLocation_t_145 *win, struct SteamPartyBeaconLocation_t *lin) +{ + lin->m_eType = win->m_eType; + lin->m_ulLocationID = win->m_ulLocationID; +} + +void lin_to_win_struct_SteamPartyBeaconLocation_t_145(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_145 *win) +{ + win->m_eType = lin->m_eType; + win->m_ulLocationID = lin->m_ulLocationID; +} + +#pragma pack( push, 8 ) +struct winLobbyCreated_t_16 { + EResult m_eResult; + uint64 m_ulSteamIDLobby; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LobbyCreated_t_16(const struct LobbyCreated_t *lin, struct winLobbyCreated_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameProgressCallback_t_16 { + EResult m_eResult; + uint64 m_ullSearchID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *lin, struct winRequestPlayersForGameProgressCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameResultCallback_t_64 { + EResult m_eResult; + uint64 m_ullSearchID; + CSteamID m_SteamIDPlayerFound __attribute__((aligned(1))); + CSteamID m_SteamIDLobby __attribute__((aligned(1))); + RequestPlayersForGameResultCallback_t::PlayerAcceptState_t m_ePlayerAcceptState; + int32 m_nPlayerIndex; + int32 m_nTotalPlayersFound; + int32 m_nTotalPlayersAcceptedGame; + int32 m_nSuggestedTeamIndex; + uint64 m_ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *lin, struct winRequestPlayersForGameResultCallback_t_64 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; + win->m_SteamIDPlayerFound = lin->m_SteamIDPlayerFound; + win->m_SteamIDLobby = lin->m_SteamIDLobby; + win->m_ePlayerAcceptState = lin->m_ePlayerAcceptState; + win->m_nPlayerIndex = lin->m_nPlayerIndex; + win->m_nTotalPlayersFound = lin->m_nTotalPlayersFound; + win->m_nTotalPlayersAcceptedGame = lin->m_nTotalPlayersAcceptedGame; + win->m_nSuggestedTeamIndex = lin->m_nSuggestedTeamIndex; + win->m_ullUniqueGameID = lin->m_ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameFinalResultCallback_t_24 { + EResult m_eResult; + uint64 m_ullSearchID; + uint64 m_ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *lin, struct winRequestPlayersForGameFinalResultCallback_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; + win->m_ullUniqueGameID = lin->m_ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winSubmitPlayerResultResultCallback_t_24 { + EResult m_eResult; + uint64 ullUniqueGameID; + CSteamID steamIDPlayer __attribute__((aligned(1))); +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *lin, struct winSubmitPlayerResultResultCallback_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->ullUniqueGameID = lin->ullUniqueGameID; + win->steamIDPlayer = lin->steamIDPlayer; +} + +#pragma pack( push, 8 ) +struct winEndGameResultCallback_t_16 { + EResult m_eResult; + uint64 ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *lin, struct winEndGameResultCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->ullUniqueGameID = lin->ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winJoinPartyCallback_t_280 { + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner __attribute__((aligned(1))); + char m_rgchConnectString[256]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *lin, struct winJoinPartyCallback_t_280 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulBeaconID = lin->m_ulBeaconID; + win->m_SteamIDBeaconOwner = lin->m_SteamIDBeaconOwner; + memcpy(win->m_rgchConnectString, lin->m_rgchConnectString, sizeof(win->m_rgchConnectString)); +} + +#pragma pack( push, 8 ) +struct winCreateBeaconCallback_t_16 { + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *lin, struct winCreateBeaconCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulBeaconID = lin->m_ulBeaconID; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageAppSyncProgress_t_288 { + char m_rgchCurrentFile[260]; + AppId_t m_nAppID; + uint32 m_uBytesTransferredThisChunk; + double m_dAppPercentComplete; + bool m_bUploading; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *lin, struct winRemoteStorageAppSyncProgress_t_288 *win) +{ + memcpy(win->m_rgchCurrentFile, lin->m_rgchCurrentFile, sizeof(win->m_rgchCurrentFile)); + win->m_nAppID = lin->m_nAppID; + win->m_uBytesTransferredThisChunk = lin->m_uBytesTransferredThisChunk; + win->m_dAppPercentComplete = lin->m_dAppPercentComplete; + win->m_bUploading = lin->m_bUploading; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageFileShareResult_t_280 { + EResult m_eResult; + UGCHandle_t m_hFile; + char m_rgchFilename[260]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_280 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hFile = lin->m_hFile; + memcpy(win->m_rgchFilename, lin->m_rgchFilename, sizeof(win->m_rgchFilename)); +} + +#pragma pack( push, 8 ) +struct winRemoteStoragePublishFileResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageDeletePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *lin, struct winRemoteStorageDeletePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *lin, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageSubscribePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *lin, struct winRemoteStorageSubscribePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + uint32 m_rgRTimeSubscribed[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *lin, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); + memcpy(win->m_rgRTimeSubscribed, lin->m_rgRTimeSubscribed, sizeof(win->m_rgRTimeSubscribed)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUnsubscribePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *lin, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUpdatePublishedFileResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageDownloadUGCResult_t_296 { + EResult m_eResult; + UGCHandle_t m_hFile; + AppId_t m_nAppID; + int32 m_nSizeInBytes; + char m_pchFileName[260]; + uint64 m_ulSteamIDOwner; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_296 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hFile = lin->m_hFile; + win->m_nAppID = lin->m_nAppID; + win->m_nSizeInBytes = lin->m_nSizeInBytes; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + ERemoteStoragePublishedFileVisibility m_eVisibility; + bool m_bBanned; + char m_rgchTags[1025]; + bool m_bTagsTruncated; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + EWorkshopFileType m_eFileType; + bool m_bAcceptedForUse; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nCreatorAppID = lin->m_nCreatorAppID; + win->m_nConsumerAppID = lin->m_nConsumerAppID; + memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); + memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); + win->m_hFile = lin->m_hFile; + win->m_hPreviewFile = lin->m_hPreviewFile; + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; + win->m_rtimeCreated = lin->m_rtimeCreated; + win->m_rtimeUpdated = lin->m_rtimeUpdated; + win->m_eVisibility = lin->m_eVisibility; + win->m_bBanned = lin->m_bBanned; + memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); + win->m_bTagsTruncated = lin->m_bTagsTruncated; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_nFileSize = lin->m_nFileSize; + win->m_nPreviewFileSize = lin->m_nPreviewFileSize; + memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); + win->m_eFileType = lin->m_eFileType; + win->m_bAcceptedForUse = lin->m_bAcceptedForUse; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + float m_rgScore[50]; + AppId_t m_nAppId; + uint32 m_unStartIndex; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); + memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); + win->m_nAppId = lin->m_nAppId; + win->m_unStartIndex = lin->m_unStartIndex; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 { + EResult m_eResult; + PublishedFileId_t m_unPublishedFileId; + int32 m_nVotesFor; + int32 m_nVotesAgainst; + int32 m_nReports; + float m_fScore; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *lin, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_unPublishedFileId = lin->m_unPublishedFileId; + win->m_nVotesFor = lin->m_nVotesFor; + win->m_nVotesAgainst = lin->m_nVotesAgainst; + win->m_nReports = lin->m_nReports; + win->m_fScore = lin->m_fScore; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *lin, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUserVoteDetails_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + EWorkshopVote m_eVote; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *lin, struct winRemoteStorageUserVoteDetails_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eVote = lin->m_eVote; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageSetUserPublishedFileActionResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + EWorkshopFileAction m_eAction; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *lin, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eAction = lin->m_eAction; +} + +#pragma pack( push, 8 ) +struct winRemoteStoragePublishedFileUpdated_t_24 { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; + uint64 m_ulUnused; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *lin, struct winRemoteStoragePublishedFileUpdated_t_24 *win) +{ + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; + win->m_ulUnused = lin->m_ulUnused; +} + +void win_to_lin_struct_LeaderboardEntry_t_145(const struct winLeaderboardEntry_t_145 *win, struct LeaderboardEntry_t *lin) +{ + lin->m_steamIDUser = win->m_steamIDUser; + lin->m_nGlobalRank = win->m_nGlobalRank; + lin->m_nScore = win->m_nScore; + lin->m_cDetails = win->m_cDetails; + lin->m_hUGC = win->m_hUGC; +} + +void lin_to_win_struct_LeaderboardEntry_t_145(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_145 *win) +{ + win->m_steamIDUser = lin->m_steamIDUser; + win->m_nGlobalRank = lin->m_nGlobalRank; + win->m_nScore = lin->m_nScore; + win->m_cDetails = lin->m_cDetails; + win->m_hUGC = lin->m_hUGC; +} + +#pragma pack( push, 8 ) +struct winLeaderboardScoreUploaded_t_32 { + uint8 m_bSuccess; + SteamLeaderboard_t m_hSteamLeaderboard; + int32 m_nScore; + uint8 m_bScoreChanged; + int m_nGlobalRankNew; + int m_nGlobalRankPrevious; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *lin, struct winLeaderboardScoreUploaded_t_32 *win) +{ + win->m_bSuccess = lin->m_bSuccess; + win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; + win->m_nScore = lin->m_nScore; + win->m_bScoreChanged = lin->m_bScoreChanged; + win->m_nGlobalRankNew = lin->m_nGlobalRankNew; + win->m_nGlobalRankPrevious = lin->m_nGlobalRankPrevious; +} + +#pragma pack( push, 8 ) +struct winLeaderboardUGCSet_t_16 { + EResult m_eResult; + SteamLeaderboard_t m_hSteamLeaderboard; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *lin, struct winLeaderboardUGCSet_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; +} + +#pragma pack( push, 8 ) +struct winPS3TrophiesInstalled_t_24 { + uint64 m_nGameID; + EResult m_eResult; + uint64 m_ulRequiredDiskSpace; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *lin, struct winPS3TrophiesInstalled_t_24 *win) +{ + win->m_nGameID = lin->m_nGameID; + win->m_eResult = lin->m_eResult; + win->m_ulRequiredDiskSpace = lin->m_ulRequiredDiskSpace; +} + +#pragma pack( push, 8 ) +struct winFileDetailsResult_t_40 { + EResult m_eResult; + uint64 m_ulFileSize; + uint8 m_FileSHA[20]; + uint32 m_unFlags; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *lin, struct winFileDetailsResult_t_40 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulFileSize = lin->m_ulFileSize; + memcpy(win->m_FileSHA, lin->m_FileSHA, sizeof(win->m_FileSHA)); + win->m_unFlags = lin->m_unFlags; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestCompleted_t_32 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + bool m_bRequestSuccessful; + EHTTPStatusCode m_eStatusCode; + uint32 m_unBodySize; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_32 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; + win->m_bRequestSuccessful = lin->m_bRequestSuccessful; + win->m_eStatusCode = lin->m_eStatusCode; + win->m_unBodySize = lin->m_unBodySize; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestHeadersReceived_t_16 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *lin, struct winHTTPRequestHeadersReceived_t_16 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestDataReceived_t_24 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + uint32 m_cOffset; + uint32 m_cBytesReceived; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *lin, struct winHTTPRequestDataReceived_t_24 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; + win->m_cOffset = lin->m_cOffset; + win->m_cBytesReceived = lin->m_cBytesReceived; +} + +void win_to_lin_struct_SteamUGCDetails_t_145(const struct winSteamUGCDetails_t_145 *win, struct SteamUGCDetails_t *lin) +{ + lin->m_nPublishedFileId = win->m_nPublishedFileId; + lin->m_eResult = win->m_eResult; + lin->m_eFileType = win->m_eFileType; + lin->m_nCreatorAppID = win->m_nCreatorAppID; + lin->m_nConsumerAppID = win->m_nConsumerAppID; + memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); + memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); + lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; + lin->m_rtimeCreated = win->m_rtimeCreated; + lin->m_rtimeUpdated = win->m_rtimeUpdated; + lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; + lin->m_eVisibility = win->m_eVisibility; + lin->m_bBanned = win->m_bBanned; + lin->m_bAcceptedForUse = win->m_bAcceptedForUse; + lin->m_bTagsTruncated = win->m_bTagsTruncated; + memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); + lin->m_hFile = win->m_hFile; + lin->m_hPreviewFile = win->m_hPreviewFile; + memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); + lin->m_nFileSize = win->m_nFileSize; + lin->m_nPreviewFileSize = win->m_nPreviewFileSize; + memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); + lin->m_unVotesUp = win->m_unVotesUp; + lin->m_unVotesDown = win->m_unVotesDown; + lin->m_flScore = win->m_flScore; + lin->m_unNumChildren = win->m_unNumChildren; +} + +void lin_to_win_struct_SteamUGCDetails_t_145(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_145 *win) +{ + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eResult = lin->m_eResult; + win->m_eFileType = lin->m_eFileType; + win->m_nCreatorAppID = lin->m_nCreatorAppID; + win->m_nConsumerAppID = lin->m_nConsumerAppID; + memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); + memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; + win->m_rtimeCreated = lin->m_rtimeCreated; + win->m_rtimeUpdated = lin->m_rtimeUpdated; + win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; + win->m_eVisibility = lin->m_eVisibility; + win->m_bBanned = lin->m_bBanned; + win->m_bAcceptedForUse = lin->m_bAcceptedForUse; + win->m_bTagsTruncated = lin->m_bTagsTruncated; + memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); + win->m_hFile = lin->m_hFile; + win->m_hPreviewFile = lin->m_hPreviewFile; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_nFileSize = lin->m_nFileSize; + win->m_nPreviewFileSize = lin->m_nPreviewFileSize; + memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); + win->m_unVotesUp = lin->m_unVotesUp; + win->m_unVotesDown = lin->m_unVotesDown; + win->m_flScore = lin->m_flScore; + win->m_unNumChildren = lin->m_unNumChildren; +} + +#pragma pack( push, 8 ) +struct winSteamUGCRequestUGCDetailsResult_t_9784 { + winSteamUGCDetails_t_145 m_details; + bool m_bCachedData; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9784 *win) +{ + lin_to_win_struct_SteamUGCDetails_t_145(&lin->m_details, &win->m_details); + win->m_bCachedData = lin->m_bCachedData; +} + +#pragma pack( push, 8 ) +struct winCreateItemResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_CreateItemResult_t_24(const struct CreateItemResult_t *lin, struct winCreateItemResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winItemInstalled_t_16 { + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_ItemInstalled_t_16(const struct ItemInstalled_t *lin, struct winItemInstalled_t_16 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winDownloadItemResult_t_24 { + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *lin, struct winDownloadItemResult_t_24 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eResult = lin->m_eResult; +} + +#pragma pack( push, 8 ) +struct winAddUGCDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *lin, struct winAddUGCDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoveUGCDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *lin, struct winRemoveUGCDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winAddAppDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *lin, struct winAddAppDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; +} + +#pragma pack( push, 8 ) +struct winRemoveAppDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *lin, struct winRemoveAppDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; +} + +#pragma pack( push, 8 ) +struct winGetAppDependenciesResult_t_152 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_rgAppIDs[32]; + uint32 m_nNumAppDependencies; + uint32 m_nTotalNumAppDependencies; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *lin, struct winGetAppDependenciesResult_t_152 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + memcpy(win->m_rgAppIDs, lin->m_rgAppIDs, sizeof(win->m_rgAppIDs)); + win->m_nNumAppDependencies = lin->m_nNumAppDependencies; + win->m_nTotalNumAppDependencies = lin->m_nTotalNumAppDependencies; +} + +#pragma pack( push, 8 ) +struct winDeleteItemResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *lin, struct winDeleteItemResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_NeedsPaint_t_48 { + HHTMLBrowser unBrowserHandle; + const char * pBGRA; + uint32 unWide; + uint32 unTall; + uint32 unUpdateX; + uint32 unUpdateY; + uint32 unUpdateWide; + uint32 unUpdateTall; + uint32 unScrollX; + uint32 unScrollY; + float flPageScale; + uint32 unPageSerial; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_NeedsPaint_t_56 { + HHTMLBrowser unBrowserHandle; + const char * pBGRA; + uint32 unWide; + uint32 unTall; + uint32 unUpdateX; + uint32 unUpdateY; + uint32 unUpdateWide; + uint32 unUpdateTall; + uint32 unScrollX; + uint32 unScrollY; + float flPageScale; + uint32 unPageSerial; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_56 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pBGRA = lin->pBGRA; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unUpdateX = lin->unUpdateX; + win->unUpdateY = lin->unUpdateY; + win->unUpdateWide = lin->unUpdateWide; + win->unUpdateTall = lin->unUpdateTall; + win->unScrollX = lin->unScrollX; + win->unScrollY = lin->unScrollY; + win->flPageScale = lin->flPageScale; + win->unPageSerial = lin->unPageSerial; +} +#endif + +#ifdef __i386__ +void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_48 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pBGRA = lin->pBGRA; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unUpdateX = lin->unUpdateX; + win->unUpdateY = lin->unUpdateY; + win->unUpdateWide = lin->unUpdateWide; + win->unUpdateTall = lin->unUpdateTall; + win->unScrollX = lin->unScrollX; + win->unScrollY = lin->unScrollY; + win->flPageScale = lin->flPageScale; + win->unPageSerial = lin->unPageSerial; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_StartRequest_t_20 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchTarget; + const char * pchPostData; + bool bIsRedirect; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_StartRequest_t_40 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchTarget; + const char * pchPostData; + bool bIsRedirect; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_40 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchTarget = lin->pchTarget; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; +} +#endif + +#ifdef __i386__ +void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_20 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchTarget = lin->pchTarget; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_URLChanged_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPostData; + bool bIsRedirect; + const char * pchPageTitle; + bool bNewNavigation; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_URLChanged_t_48 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPostData; + bool bIsRedirect; + const char * pchPageTitle; + bool bNewNavigation; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_48 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; + win->pchPageTitle = lin->pchPageTitle; + win->bNewNavigation = lin->bNewNavigation; +} +#endif + +#ifdef __i386__ +void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; + win->pchPageTitle = lin->pchPageTitle; + win->bNewNavigation = lin->bNewNavigation; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_FinishedRequest_t_12 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPageTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_FinishedRequest_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPageTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPageTitle = lin->pchPageTitle; +} +#endif + +#ifdef __i386__ +void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_12 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPageTitle = lin->pchPageTitle; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_OpenLinkInNewTab_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_OpenLinkInNewTab_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; +} +#endif + +#ifdef __i386__ +void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_ChangedTitle_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_ChangedTitle_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; +} +#endif + +#ifdef __i386__ +void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_LinkAtPosition_t_20 { + HHTMLBrowser unBrowserHandle; + uint32 x; + uint32 y; + const char * pchURL; + bool bInput; + bool bLiveLink; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_LinkAtPosition_t_32 { + HHTMLBrowser unBrowserHandle; + uint32 x; + uint32 y; + const char * pchURL; + bool bInput; + bool bLiveLink; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_32 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->x = lin->x; + win->y = lin->y; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->bInput = lin->bInput; + win->bLiveLink = lin->bLiveLink; +} +#endif + +#ifdef __i386__ +void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_20 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->x = lin->x; + win->y = lin->y; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->bInput = lin->bInput; + win->bLiveLink = lin->bLiveLink; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_JSAlert_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_JSAlert_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_JSConfirm_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_JSConfirm_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_FileOpenDialog_t_12 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; + const char * pchInitialFile; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_FileOpenDialog_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; + const char * pchInitialFile; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; + steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + win->pchInitialFile = g_tmppath; +} +#endif + +#ifdef __i386__ +void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_12 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; + steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + win->pchInitialFile = g_tmppath; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_NewWindow_t_28 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + uint32 unX; + uint32 unY; + uint32 unWide; + uint32 unTall; + HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_NewWindow_t_40 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + uint32 unX; + uint32 unY; + uint32 unWide; + uint32 unTall; + HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_40 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->unX = lin->unX; + win->unY = lin->unY; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; +} +#endif + +#ifdef __i386__ +void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_28 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->unX = lin->unX; + win->unY = lin->unY; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_StatusText_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_StatusText_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_ShowToolTip_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_ShowToolTip_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_UpdateToolTip_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_UpdateToolTip_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#pragma pack( push, 8 ) +struct winSteamInventoryStartPurchaseResult_t_24 { + EResult m_result; + uint64 m_ulOrderID; + uint64 m_ulTransID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *lin, struct winSteamInventoryStartPurchaseResult_t_24 *win) +{ + win->m_result = lin->m_result; + win->m_ulOrderID = lin->m_ulOrderID; + win->m_ulTransID = lin->m_ulTransID; +} + +#pragma pack( push, 8 ) +struct winGSReputation_t_40 { + EResult m_eResult; + uint32 m_unReputationScore; + bool m_bBanned; + uint32 m_unBannedIP; + uint16 m_usBannedPort; + uint64 m_ulBannedGameID; + uint32 m_unBanExpires; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_GSReputation_t_40(const struct GSReputation_t *lin, struct winGSReputation_t_40 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_unReputationScore = lin->m_unReputationScore; + win->m_bBanned = lin->m_bBanned; + win->m_unBannedIP = lin->m_unBannedIP; + win->m_usBannedPort = lin->m_usBannedPort; + win->m_ulBannedGameID = lin->m_ulBannedGameID; + win->m_unBanExpires = lin->m_unBanExpires; +} + +#pragma pack( push, 8 ) +struct winSteamNetConnectionStatusChangedCallback_t_712 { + HSteamNetConnection m_hConn; + SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); + ESteamNetworkingConnectionState m_eOldState; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_712 *win) +{ + win->m_hConn = lin->m_hConn; + win->m_info = lin->m_info; + win->m_eOldState = lin->m_eOldState; +} + + +} diff --git a/lsteamclient/winISteamController.c b/lsteamclient/winISteamController.c index 39bead27..cc00c2bb 100644 --- a/lsteamclient/winISteamController.c +++ b/lsteamclient/winISteamController.c @@ -259,6 +259,13 @@ EControllerActionOrigin __thiscall winISteamController_SteamController007_Transl return cppISteamController_SteamController007_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); } +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerBindingRevision, 20) +bool __thiscall winISteamController_SteamController007_GetControllerBindingRevision(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +{ + TRACE("%p\n", _this); + return cppISteamController_SteamController007_GetControllerBindingRevision(_this->linux_side, controllerHandle, pMajor, pMinor); +} + extern vtable_ptr winISteamController_SteamController007_vtable; #ifndef __GNUC__ @@ -298,6 +305,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForXboxOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionOriginFromXboxOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController007_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerBindingRevision) ); #ifndef __GNUC__ } diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 3d5add51..8d0abb8f 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -259,6 +259,13 @@ EInputActionOrigin __thiscall winISteamInput_SteamInput001_TranslateActionOrigin return cppISteamInput_SteamInput001_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); } +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDeviceBindingRevision, 20) +bool __thiscall winISteamInput_SteamInput001_GetDeviceBindingRevision(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput001_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); +} + extern vtable_ptr winISteamInput_SteamInput001_vtable; #ifndef __GNUC__ @@ -298,6 +305,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGlyphForXboxOrigin) VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin) VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDeviceBindingRevision) ); #ifndef __GNUC__ } diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index 699bcb46..5c3a7fe7 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -15,6 +15,286 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamNetworkingSockets_SteamNetworkingSockets003.h" + +typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets003 { + vtable_ptr *vtable; + void *linux_side; +} winISteamNetworkingSockets_SteamNetworkingSockets003; + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP, 8) +HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const SteamNetworkingIPAddr * localAddress) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP(_this->linux_side, localAddress); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress, 8) +HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const SteamNetworkingIPAddr * address) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress(_this->linux_side, address); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P, 8) +HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, int nVirtualPort) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P(_this->linux_side, nVirtualPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P, 12) +HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P(_this->linux_side, identityRemote, nVirtualPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection, 8) +EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection(_this->linux_side, hConn); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection, 20) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket, 8) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamListenSocket hSocket) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket(_this->linux_side, hSocket); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData, 16) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hPeer, int64 nUserData) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData(_this->linux_side, hPeer, nUserData); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData, 8) +int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hPeer) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData(_this->linux_side, hPeer); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName, 12) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hPeer, const char * pszName) +{ + TRACE("%p\n", _this); + cppISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName(_this->linux_side, hPeer, pszName); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName, 16) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection, 20) +EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection, 8) +EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection(_this->linux_side, hConn); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection, 16) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_145 ** ppOutMessages, int nMaxMessages) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket, 16) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_145 ** ppOutMessages, int nMaxMessages) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket(_this->linux_side, hSocket, ppOutMessages, nMaxMessages); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo, 12) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo(_this->linux_side, hConn, pInfo); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus, 12) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus, 16) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress, 12) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress(_this->linux_side, hSocket, address); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair, 24) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity, 8) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, SteamNetworkingIdentity * pIdentity) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity(_this->linux_side, pIdentity); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication, 4) +ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus, 8) +ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, SteamNetAuthenticationStatus_t * pDetails) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus(_this->linux_side, pDetails); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket, 16) +bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer, 16) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nVirtualPort, pOutParsedTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer, 12) +HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nVirtualPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort, 4) +uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID, 4) +SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress, 8) +EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, SteamDatagramHostedAddress * pRouting) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket, 8) +HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, int nVirtualPort) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket(_this->linux_side, nVirtualPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin, 16) +EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets003_destructor, 4) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets003_destructor(winISteamNetworkingSockets_SteamNetworkingSockets003 *_this) +{/* never called */} + +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets003, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetQuickConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_InitAuthentication) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetAuthenticationStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_GetGameCoordinatorServerLogin) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets003_destructor) + ); +#ifndef __GNUC__ +} +#endif + +winISteamNetworkingSockets_SteamNetworkingSockets003 *create_winISteamNetworkingSockets_SteamNetworkingSockets003(void *linux_side) +{ + winISteamNetworkingSockets_SteamNetworkingSockets003 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamNetworkingSockets_SteamNetworkingSockets003)); + TRACE("-> %p\n", r); + r->vtable = &winISteamNetworkingSockets_SteamNetworkingSockets003_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets002 { diff --git a/lsteamclient/winISteamNetworkingUtils.c b/lsteamclient/winISteamNetworkingUtils.c index 1e269ad2..e78b739b 100644 --- a/lsteamclient/winISteamNetworkingUtils.c +++ b/lsteamclient/winISteamNetworkingUtils.c @@ -15,6 +15,206 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h" + +typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils002 { + vtable_ptr *vtable; + void *linux_side; +} winISteamNetworkingUtils_SteamNetworkingUtils002; + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, 8) +ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamRelayNetworkStatus_t * pDetails) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(_this->linux_side, pDetails); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, 8) +float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkPingLocation_t * result) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(_this->linux_side, result); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, 12) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(_this->linux_side, location1, location2); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, 8) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * remoteLocation) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(_this->linux_side, remoteLocation); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, 16) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +{ + TRACE("%p\n", _this); + cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(_this->linux_side, location, pszBuf, cchBufSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, 12) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const char * pszString, SteamNetworkPingLocation_t * result) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(_this->linux_side, pszString, result); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, 8) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, float flMaxAgeSeconds) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(_this->linux_side, flMaxAgeSeconds); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, 12) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(_this->linux_side, popID, pViaRelayPoP); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, 8) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID popID) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(_this->linux_side, popID); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, 4) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, 12) +int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID * list, int nListSz) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(_this->linux_side, list, nListSz); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, 4) +SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, 12) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +{ + TRACE("%p\n", _this); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(_this->linux_side, eDetailLevel, pfnFunc); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, 24) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, eDataType, pArg); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, 28) +ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, 24) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(_this->linux_side, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, 4) +ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, 20) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +{ + TRACE("%p\n", _this); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(_this->linux_side, addr, buf, cbBuf, bWithPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, 12) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingIPAddr * pAddr, const char * pszStr) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(_this->linux_side, pAddr, pszStr); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, 16) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +{ + TRACE("%p\n", _this); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(_this->linux_side, identity, buf, cbBuf); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, 12) +bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingIdentity * pIdentity, const char * pszStr) +{ + TRACE("%p\n", _this); + return cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(_this->linux_side, pIdentity, pszStr); +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor, 4) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +{/* never called */} + +extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils002_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils002, + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor) + ); +#ifndef __GNUC__ +} +#endif + +winISteamNetworkingUtils_SteamNetworkingUtils002 *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *linux_side) +{ + winISteamNetworkingUtils_SteamNetworkingUtils002 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamNetworkingUtils_SteamNetworkingUtils002)); + TRACE("-> %p\n", r); + r->vtable = &winISteamNetworkingUtils_SteamNetworkingUtils002_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h" typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils001 { diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index d7d7c3c1..dcb4fb5b 100644 --- a/lsteamclient/winISteamParties.c +++ b/lsteamclient/winISteamParties.c @@ -37,7 +37,7 @@ PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(win } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_144 * pLocation, char * pchMetadata, int cchMetadata) +bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_145 * pLocation, char * pchMetadata, int cchMetadata) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetBeaconDetails(_this->linux_side, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata); @@ -58,14 +58,14 @@ bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations( } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12) -bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_144 * pLocationList, uint32 uMaxNumLocations) +bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_145 * pLocationList, uint32 uMaxNumLocations) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->linux_side, pLocationList, uMaxNumLocations); } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20) -SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_144 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_145 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_CreateBeacon(_this->linux_side, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata); @@ -100,7 +100,7 @@ bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(winISteamParties_ } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_144 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_145 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetBeaconLocationData(_this->linux_side, BeaconLocation, eData, pchDataStringOut, cchDataStringOut); diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index a0b8a5c3..49290b89 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -15,6 +15,673 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h" + +typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION013 { + vtable_ptr *vtable; + void *linux_side; +} winISteamUGC_STEAMUGC_INTERFACE_VERSION013; + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, 32) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, 24) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, 24) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, 12) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_145 * pDetails) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, 16) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, 40) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +{ + bool path_result; + TRACE("%p\n", _this); + path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); + steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, 16) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, 36) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pTagName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(_this->linux_side, handle, pTagName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pTagName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(_this->linux_side, handle, pTagName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(_this->linux_side, handle, bReturnChildren); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unDays) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(_this->linux_side, handle, pchLanguage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pSearchText) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(_this->linux_side, handle, pSearchText); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unDays) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(_this->linux_side, handle, unDays); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(_this->linux_side, nConsumerAppId, eFileType); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, 16) +UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(_this->linux_side, handle, pchTitle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(_this->linux_side, handle, pchDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(_this->linux_side, handle, pchMetaData); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(_this->linux_side, handle, eVisibility); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(_this->linux_side, updateHandle, pTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +{ + char lin_pszContentFolder[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchKey) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, 20) +EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, 4) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, 12) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, 12) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +{ + bool path_result; + TRACE("%p\n", _this); + path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); + steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +{ + char lin_pszFolder[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, 8) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, 4) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, 20) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, 20) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(_this->linux_side, nPublishedFileID); +} + +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem) + ); +#ifndef __GNUC__ +} +#endif + +winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *linux_side) +{ + winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION013)); + TRACE("-> %p\n", r); + r->vtable = &winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h" typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION012 { diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index a4a74671..695b56af 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -236,6 +236,13 @@ SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetMarketEligibility(winISt return cppISteamUser_SteamUser020_GetMarketEligibility(_this->linux_side); } +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetDurationControl, 4) +SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetDurationControl(winISteamUser_SteamUser020 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser020_GetDurationControl(_this->linux_side); +} + extern vtable_ptr winISteamUser_SteamUser020_vtable; #ifndef __GNUC__ @@ -272,6 +279,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneIdentifying) VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneRequiringVerification) VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetDurationControl) ); #ifndef __GNUC__ } diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index 40d5168c..d82fc5bf 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -233,7 +233,7 @@ SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 } DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_144 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_145 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { TRACE("%p\n", _this); return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index bc762e3e..c12b98c3 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -234,6 +234,27 @@ void __thiscall winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(winISt cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(_this->linux_side, bEnabled); } +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamChinaLauncher, 4) +bool __thiscall winISteamUtils_SteamUtils009_IsSteamChinaLauncher(winISteamUtils_SteamUtils009 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_InitFilterText, 4) +bool __thiscall winISteamUtils_SteamUtils009_InitFilterText(winISteamUtils_SteamUtils009 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUtils_SteamUtils009_InitFilterText(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_FilterText, 20) +int __thiscall winISteamUtils_SteamUtils009_FilterText(winISteamUtils_SteamUtils009 *_this, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char * pchInputMessage, bool bLegalOnly) +{ + TRACE("%p\n", _this); + return cppISteamUtils_SteamUtils009_FilterText(_this->linux_side, pchOutFilteredText, nByteSizeOutFilteredText, pchInputMessage, bLegalOnly); +} + extern vtable_ptr winISteamUtils_SteamUtils009_vtable; #ifndef __GNUC__ @@ -270,6 +291,9 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_StartVRDashboard) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamChinaLauncher) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_InitFilterText) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_FilterText) ); #ifndef __GNUC__ } diff --git a/lsteamclient/win_constructors.h b/lsteamclient/win_constructors.h index 638b8d47..3497a4a4 100644 --- a/lsteamclient/win_constructors.h +++ b/lsteamclient/win_constructors.h @@ -16,7 +16,7 @@ extern void *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(v extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *); extern void *create_winISteamInput_SteamInput001(void *); extern void *create_winISteamController_SteamController007(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *); +extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *); extern void *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *); extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *); extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *); @@ -26,6 +26,9 @@ extern void *create_winISteamGameServer_SteamGameServer012(void *); extern void *create_winISteamGameServerStats_SteamGameServerStats001(void *); extern void *create_winISteamGameCoordinator_SteamGameCoordinator001(void *); extern void *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *); +extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets003(void *); +extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *); +extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *); extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *); extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *); extern void *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *); diff --git a/lsteamclient/win_constructors_table.dat b/lsteamclient/win_constructors_table.dat index 9dd73674..87fb4da7 100644 --- a/lsteamclient/win_constructors_table.dat +++ b/lsteamclient/win_constructors_table.dat @@ -16,7 +16,7 @@ {"STEAMHTTP_INTERFACE_VERSION003", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003}, {"SteamInput001", &create_winISteamInput_SteamInput001}, {"SteamController007", &create_winISteamController_SteamController007}, - {"STEAMUGC_INTERFACE_VERSION012", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012}, + {"STEAMUGC_INTERFACE_VERSION013", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013}, {"STEAMAPPLIST_INTERFACE_VERSION001", &create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001}, {"STEAMHTMLSURFACE_INTERFACE_VERSION_005", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005}, {"STEAMINVENTORY_INTERFACE_V003", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003}, @@ -26,6 +26,9 @@ {"SteamGameServerStats001", &create_winISteamGameServerStats_SteamGameServerStats001}, {"SteamGameCoordinator001", &create_winISteamGameCoordinator_SteamGameCoordinator001}, {"STEAMPARENTALSETTINGS_INTERFACE_VERSION001", &create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001}, + {"SteamNetworkingSockets003", &create_winISteamNetworkingSockets_SteamNetworkingSockets003}, + {"SteamNetworkingUtils002", &create_winISteamNetworkingUtils_SteamNetworkingUtils002}, + {"STEAMUGC_INTERFACE_VERSION012", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012}, {"SteamNetworkingSockets002", &create_winISteamNetworkingSockets_SteamNetworkingSockets002}, {"SteamNetworkingUtils001", &create_winISteamNetworkingUtils_SteamNetworkingUtils001}, {"SteamNetworkingSocketsSerialized003", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003},