From da911c3bf999db1bcc0fb262ea66e787a7102ab1 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 15 Sep 2021 14:52:44 -0500 Subject: [PATCH] lsteamclient: generate 1.52 support --- lsteamclient/cb_converters.dat | 7 +- lsteamclient/cb_converters.h | 20 +- lsteamclient/cb_getapi_sizes.dat | 12 +- lsteamclient/cb_getapi_table.dat | 16 +- ...List_STEAMAPPLIST_INTERFACE_VERSION001.cpp | 6 +- ...et_STEAMAPPTICKET_INTERFACE_VERSION001.cpp | 8 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION008.cpp | 6 +- .../cppISteamClient_SteamClient020.cpp | 6 +- ...cppISteamController_SteamController008.cpp | 6 +- .../cppISteamFriends_SteamFriends017.cpp | 6 +- ...ameCoordinator_SteamGameCoordinator001.cpp | 8 +- ...teamGameSearch_SteamMatchGameSearch001.cpp | 6 +- ...ameServerStats_SteamGameServerStats001.cpp | 8 +- ...cppISteamGameServer_SteamGameServer014.cpp | 237 +++ .../cppISteamGameServer_SteamGameServer014.h | 44 + ...STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp | 6 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp | 6 +- lsteamclient/cppISteamInput_SteamInput005.cpp | 246 +++ lsteamclient/cppISteamInput_SteamInput005.h | 47 + ...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 +- ...ingMessages_SteamNetworkingMessages002.cpp | 8 +- ...rkingMessages_SteamNetworkingMessages002.h | 2 +- ...rkingSockets_SteamNetworkingSockets009.cpp | 8 +- ...workingSockets_SteamNetworkingSockets009.h | 6 +- ...etworkingUtils_SteamNetworkingUtils003.cpp | 8 +- ...cppISteamNetworking_SteamNetworking006.cpp | 6 +- ...MPARENTALSETTINGS_INTERFACE_VERSION001.cpp | 8 +- .../cppISteamParties_SteamParties002.cpp | 30 +- .../cppISteamParties_SteamParties002.h | 8 +- ...y_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp | 6 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp | 311 ++++ ..._STEAMREMOTESTORAGE_INTERFACE_VERSION016.h | 59 + ..._STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp | 6 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp | 22 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION015.h | 4 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION012.cpp | 12 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION012.h | 2 +- lsteamclient/cppISteamUser_SteamUser021.cpp | 14 +- lsteamclient/cppISteamUser_SteamUser021.h | 4 +- lsteamclient/cppISteamUtils_SteamUtils010.cpp | 21 +- lsteamclient/cppISteamUtils_SteamUtils010.h | 3 + ...pISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp | 6 +- lsteamclient/gen_wrapper.py | 8 +- lsteamclient/steam_defs.h | 10 +- lsteamclient/steamclient_manual_152.cpp | 41 + .../steamworks_sdk_152/isteamappticket.h | 2 +- .../steamworks_sdk_152/isteamclient.h | 2 +- lsteamclient/steamworks_sdk_152/isteaminput.h | 4 +- .../isteamnetworkingmessages.h | 11 +- .../isteamnetworkingsockets.h | 15 +- .../isteamnetworkingutils.h | 21 +- .../steamworks_sdk_152/steamnetworkingtypes.h | 7 +- lsteamclient/steamworks_sdk_152/steamtypes.h | 40 +- lsteamclient/struct_converters.h | 87 + lsteamclient/struct_converters_150.cpp | 14 - lsteamclient/struct_converters_151.cpp | 1284 --------------- lsteamclient/struct_converters_152.cpp | 1426 +++++++++++++++++ lsteamclient/winISteamGameServer.c | 382 +++++ lsteamclient/winISteamInput.c | 409 +++++ lsteamclient/winISteamNetworkingMessages.c | 2 +- lsteamclient/winISteamNetworkingSockets.c | 6 +- lsteamclient/winISteamParties.c | 8 +- lsteamclient/winISteamRemoteStorage.c | 511 ++++++ lsteamclient/winISteamUGC.c | 18 +- lsteamclient/winISteamUser.c | 16 +- lsteamclient/winISteamUserStats.c | 2 +- lsteamclient/winISteamUtils.c | 24 + lsteamclient/win_constructors.h | 9 +- lsteamclient/win_constructors_table.dat | 9 +- 73 files changed, 4121 insertions(+), 1532 deletions(-) create mode 100644 lsteamclient/cppISteamGameServer_SteamGameServer014.cpp create mode 100644 lsteamclient/cppISteamGameServer_SteamGameServer014.h create mode 100644 lsteamclient/cppISteamInput_SteamInput005.cpp create mode 100644 lsteamclient/cppISteamInput_SteamInput005.h create mode 100644 lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp create mode 100644 lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h create mode 100644 lsteamclient/steamclient_manual_152.cpp create mode 100644 lsteamclient/struct_converters_152.cpp diff --git a/lsteamclient/cb_converters.dat b/lsteamclient/cb_converters.dat index 71151188..ecde1ed7 100644 --- a/lsteamclient/cb_converters.dat +++ b/lsteamclient/cb_converters.dat @@ -7,7 +7,6 @@ case 0x0014145e: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetPr case 0x000c145f: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_EndGameResultCallback_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x011414b5: win_msg->m_cubParam = 280; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_JoinPartyCallback_t_280((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x000c14b6: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateBeaconCallback_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x01180517: win_msg->m_cubParam = 288; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageAppSyncProgress_t_288((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x0110051b: win_msg->m_cubParam = 280; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_280((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x0010051d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x000c051f: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDeletePublishedFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; @@ -32,6 +31,7 @@ case 0x002403ff: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetPr case 0x00180835: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x000c0836: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestHeadersReceived_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x00140837: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestDataReceived_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; +case 0x00200af3: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInputConfigurationLoaded_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x26280d4a: win_msg->m_cubParam = 9784; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9784((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x00100d4b: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateItemResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x000c0d4d: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_ItemInstalled_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; @@ -127,9 +127,10 @@ case 0x000811ad: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetPro case 0x000c11ad: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_UpdateToolTip_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; #endif case 0x00141260: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInventoryStartPurchaseResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x024004c5: win_msg->m_cubParam = 584; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamNetConnectionStatusChangedCallback_t_584((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x002000d1: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GSReputation_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x02c004c5: win_msg->m_cubParam = 712; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamNetConnectionStatusChangedCallback_t_712((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; +case 0x002000d1: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GSReputation_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; +case 0x01180517: win_msg->m_cubParam = 288; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageAppSyncProgress_t_288((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; +case 0x024004c5: win_msg->m_cubParam = 584; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamNetConnectionStatusChangedCallback_t_584((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; case 0x00140835: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; #ifdef __i386__ case 0x001011a5: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ComboNeedsPaint_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; diff --git a/lsteamclient/cb_converters.h b/lsteamclient/cb_converters.h index adc33251..dadb91fd 100644 --- a/lsteamclient/cb_converters.h +++ b/lsteamclient/cb_converters.h @@ -34,10 +34,6 @@ struct CreateBeaconCallback_t; struct winCreateBeaconCallback_t_16; extern void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *l, struct winCreateBeaconCallback_t_16 *w); -struct RemoteStorageAppSyncProgress_t; -struct winRemoteStorageAppSyncProgress_t_288; -extern void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *l, struct winRemoteStorageAppSyncProgress_t_288 *w); - struct RemoteStorageFileShareResult_t; struct winRemoteStorageFileShareResult_t_280; extern void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *l, struct winRemoteStorageFileShareResult_t_280 *w); @@ -134,6 +130,10 @@ struct HTTPRequestDataReceived_t; struct winHTTPRequestDataReceived_t_24; extern void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *l, struct winHTTPRequestDataReceived_t_24 *w); +struct SteamInputConfigurationLoaded_t; +struct winSteamInputConfigurationLoaded_t_40; +extern void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *l, struct winSteamInputConfigurationLoaded_t_40 *w); + struct SteamUGCRequestUGCDetailsResult_t; struct winSteamUGCRequestUGCDetailsResult_t_9784; extern void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *l, struct winSteamUGCRequestUGCDetailsResult_t_9784 *w); @@ -319,16 +319,20 @@ struct winSteamInventoryStartPurchaseResult_t_24; extern void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *l, struct winSteamInventoryStartPurchaseResult_t_24 *w); struct SteamNetConnectionStatusChangedCallback_t; -struct winSteamNetConnectionStatusChangedCallback_t_584; -extern void cb_SteamNetConnectionStatusChangedCallback_t_584(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_584 *w); +struct winSteamNetConnectionStatusChangedCallback_t_712; +extern void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_712 *w); struct GSReputation_t; struct winGSReputation_t_40; extern void cb_GSReputation_t_40(const struct GSReputation_t *l, struct winGSReputation_t_40 *w); +struct RemoteStorageAppSyncProgress_t; +struct winRemoteStorageAppSyncProgress_t_288; +extern void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *l, struct winRemoteStorageAppSyncProgress_t_288 *w); + struct SteamNetConnectionStatusChangedCallback_t; -struct winSteamNetConnectionStatusChangedCallback_t_712; -extern void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_712 *w); +struct winSteamNetConnectionStatusChangedCallback_t_584; +extern void cb_SteamNetConnectionStatusChangedCallback_t_584(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_584 *w); struct HTTPRequestCompleted_t; struct winHTTPRequestCompleted_t_24; diff --git a/lsteamclient/cb_getapi_sizes.dat b/lsteamclient/cb_getapi_sizes.dat index 0fff750a..3dc82d5a 100644 --- a/lsteamclient/cb_getapi_sizes.dat +++ b/lsteamclient/cb_getapi_sizes.dat @@ -13,8 +13,8 @@ case 1111: /* LeaderboardUGCSet_t_16 */ return 12; case 1112: /* PS3TrophiesInstalled_t_24 */ return 20; -case 1221: /* SteamNetConnectionStatusChangedCallback_t_584 */ - return 576; +case 1221: /* SteamNetConnectionStatusChangedCallback_t_712 */ + return 704; case 1303: /* RemoteStorageAppSyncProgress_t_288 */ return 280; case 1307: /* RemoteStorageFileShareResult_t_280 */ @@ -61,6 +61,8 @@ case 2102: /* HTTPRequestHeadersReceived_t_16 */ return 12; case 2103: /* HTTPRequestDataReceived_t_24 */ return 20; +case 2803: /* SteamInputConfigurationLoaded_t_40 */ + return 32; case 3402: /* SteamUGCRequestUGCDetailsResult_t_9784 */ return 9768; case 3403: /* CreateItemResult_t_24 */ @@ -143,8 +145,8 @@ case 1111: /* LeaderboardUGCSet_t_16 */ return 12; case 1112: /* PS3TrophiesInstalled_t_24 */ return 20; -case 1221: /* SteamNetConnectionStatusChangedCallback_t_584 */ - return 576; +case 1221: /* SteamNetConnectionStatusChangedCallback_t_712 */ + return 704; case 1303: /* RemoteStorageAppSyncProgress_t_288 */ return 280; case 1307: /* RemoteStorageFileShareResult_t_280 */ @@ -191,6 +193,8 @@ case 2102: /* HTTPRequestHeadersReceived_t_16 */ return 12; case 2103: /* HTTPRequestDataReceived_t_24 */ return 20; +case 2803: /* SteamInputConfigurationLoaded_t_40 */ + return 32; case 3402: /* SteamUGCRequestUGCDetailsResult_t_9784 */ return 9768; case 3403: /* CreateItemResult_t_24 */ diff --git a/lsteamclient/cb_getapi_table.dat b/lsteamclient/cb_getapi_table.dat index 3e9d43fd..6acc6db6 100644 --- a/lsteamclient/cb_getapi_table.dat +++ b/lsteamclient/cb_getapi_table.dat @@ -44,8 +44,8 @@ case 1112: case 1221: switch(callback_len){ default: - case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; case 712: cb_SteamNetConnectionStatusChangedCallback_t_712(lin_callback, callback); break; + case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; } break; case 1303: @@ -193,6 +193,12 @@ case 2103: case 24: cb_HTTPRequestDataReceived_t_24(lin_callback, callback); break; } break; +case 2803: + switch(callback_len){ + default: + case 40: cb_SteamInputConfigurationLoaded_t_40(lin_callback, callback); break; + } + break; case 3402: switch(callback_len){ default: @@ -441,8 +447,8 @@ case 1112: case 1221: switch(callback_len){ default: - case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; case 712: cb_SteamNetConnectionStatusChangedCallback_t_712(lin_callback, callback); break; + case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; } break; case 1303: @@ -590,6 +596,12 @@ case 2103: case 24: cb_HTTPRequestDataReceived_t_24(lin_callback, callback); break; } break; +case 2803: + switch(callback_len){ + default: + case 40: cb_SteamInputConfigurationLoaded_t_40(lin_callback, callback); break; + } + break; case 3402: switch(callback_len){ default: diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index 1a134086..97f9339a 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 35751029..5f5df5d4 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamappticket.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamappticket.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 a1f498e8..be62626a 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) diff --git a/lsteamclient/cppISteamClient_SteamClient020.cpp b/lsteamclient/cppISteamClient_SteamClient020.cpp index 79371c23..d8b74385 100644 --- a/lsteamclient/cppISteamClient_SteamClient020.cpp +++ b/lsteamclient/cppISteamClient_SteamClient020.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamClient_SteamClient020.h" HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *linux_side) diff --git a/lsteamclient/cppISteamController_SteamController008.cpp b/lsteamclient/cppISteamController_SteamController008.cpp index 0dd90d3d..c28b2c5f 100644 --- a/lsteamclient/cppISteamController_SteamController008.cpp +++ b/lsteamclient/cppISteamController_SteamController008.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamController_SteamController008.h" bool cppISteamController_SteamController008_Init(void *linux_side) diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.cpp b/lsteamclient/cppISteamFriends_SteamFriends017.cpp index 68ae456c..efe735b8 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends017.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 1adf9c4f..f4186ef6 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamgamecoordinator.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamgamecoordinator.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 4ae00b0d..d137d54c 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 4f731c1e..c7ef3cf9 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamgameserverstats.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamgameserverstats.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamGameServerStats_SteamGameServerStats001.h" SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp new file mode 100644 index 00000000..27dc885a --- /dev/null +++ b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp @@ -0,0 +1,237 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamgameserver.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_152 +#include "struct_converters.h" +#include "cppISteamGameServer_SteamGameServer014.h" +bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +{ + return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); +} + +void cppISteamGameServer_SteamGameServer014_SetProduct(void *linux_side, const char * pszProduct) +{ + ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); +} + +void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *linux_side, const char * pszGameDescription) +{ + ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); +} + +void cppISteamGameServer_SteamGameServer014_SetModDir(void *linux_side, const char * pszModDir) +{ + ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); +} + +void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *linux_side, bool bDedicated) +{ + ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); +} + +void cppISteamGameServer_SteamGameServer014_LogOn(void *linux_side, const char * pszToken) +{ + ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); +} + +void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->LogOnAnonymous(); +} + +void cppISteamGameServer_SteamGameServer014_LogOff(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->LogOff(); +} + +bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->BLoggedOn(); +} + +bool cppISteamGameServer_SteamGameServer014_BSecure(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->BSecure(); +} + +CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetSteamID(); +} + +bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->WasRestartRequested(); +} + +void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +{ + ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); +} + +void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *linux_side, int cBotplayers) +{ + ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); +} + +void cppISteamGameServer_SteamGameServer014_SetServerName(void *linux_side, const char * pszServerName) +{ + ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); +} + +void cppISteamGameServer_SteamGameServer014_SetMapName(void *linux_side, const char * pszMapName) +{ + ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); +} + +void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +{ + ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); +} + +void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +{ + ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); +} + +void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +{ + ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); +} + +void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); +} + +void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +{ + ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); +} + +void cppISteamGameServer_SteamGameServer014_SetGameTags(void *linux_side, const char * pchGameTags) +{ + ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); +} + +void cppISteamGameServer_SteamGameServer014_SetGameData(void *linux_side, const char * pchGameData) +{ + ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); +} + +void cppISteamGameServer_SteamGameServer014_SetRegion(void *linux_side, const char * pszRegion) +{ + ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); +} + +void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *linux_side, bool bActive) +{ + ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); +} + +HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +{ + return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); +} + +EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); +} + +void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *linux_side, CSteamID steamID) +{ + ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); +} + +void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +{ + ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); +} + +EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +{ + return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); +} + +bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +{ + return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); +} + +void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->GetGameplayStats(); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetServerReputation(); +} + +SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetPublicIP(); +} + +bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +{ + return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); +} + +int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +{ + return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +{ + return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +{ + return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); +} + +bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +{ + return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); +} + +CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); +} + +void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +{ + ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); +} + +bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +{ + return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); +} + +void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +{ + ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); +} + +void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.h b/lsteamclient/cppISteamGameServer_SteamGameServer014.h new file mode 100644 index 00000000..a6479e55 --- /dev/null +++ b/lsteamclient/cppISteamGameServer_SteamGameServer014.h @@ -0,0 +1,44 @@ +extern bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetProduct(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetModDir(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *, bool); +extern void cppISteamGameServer_SteamGameServer014_LogOn(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *); +extern void cppISteamGameServer_SteamGameServer014_LogOff(void *); +extern bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *); +extern bool cppISteamGameServer_SteamGameServer014_BSecure(void *); +extern CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *); +extern bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *); +extern void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *, int); +extern void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *, int); +extern void cppISteamGameServer_SteamGameServer014_SetServerName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetMapName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *, bool); +extern void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *, uint16); +extern void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *); +extern void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *, const char *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetGameTags(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetGameData(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetRegion(void *, const char *); +extern void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *, bool); +extern HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *, void *, int, uint32 *); +extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *, const void *, int, CSteamID); +extern void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *, CSteamID); +extern void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *, HAuthTicket); +extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *, CSteamID, AppId_t); +extern bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *, CSteamID, CSteamID); +extern void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *); +extern SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *); +extern bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *, const void *, int, uint32, uint16); +extern int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *, CSteamID); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *, CSteamID); +extern bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); +extern CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *); +extern void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *, CSteamID); +extern bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *, CSteamID, const char *, uint32); +extern void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); +extern void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp index aee9fd4b..da804ec4 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 a7436839..b3e8f613 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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_SteamInput005.cpp b/lsteamclient/cppISteamInput_SteamInput005.cpp new file mode 100644 index 00000000..f39421c0 --- /dev/null +++ b/lsteamclient/cppISteamInput_SteamInput005.cpp @@ -0,0 +1,246 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_152 +#include "struct_converters.h" +#include "cppISteamInput_SteamInput005.h" +bool cppISteamInput_SteamInput005_Init(void *linux_side, bool bExplicitlyCallRunFrame) +{ + return ((ISteamInput*)linux_side)->Init((bool)bExplicitlyCallRunFrame); +} + +bool cppISteamInput_SteamInput005_Shutdown(void *linux_side) +{ + return ((ISteamInput*)linux_side)->Shutdown(); +} + +bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *linux_side, const char * pchInputActionManifestAbsolutePath) +{ + return ((ISteamInput*)linux_side)->SetInputActionManifestFilePath((const char *)pchInputActionManifestAbsolutePath); +} + +void cppISteamInput_SteamInput005_RunFrame(void *linux_side, bool bReservedValue) +{ + ((ISteamInput*)linux_side)->RunFrame((bool)bReservedValue); +} + +bool cppISteamInput_SteamInput005_BWaitForData(void *linux_side, bool bWaitForever, uint32 unTimeout) +{ + return ((ISteamInput*)linux_side)->BWaitForData((bool)bWaitForever, (uint32)unTimeout); +} + +bool cppISteamInput_SteamInput005_BNewDataAvailable(void *linux_side) +{ + return ((ISteamInput*)linux_side)->BNewDataAvailable(); +} + +int cppISteamInput_SteamInput005_GetConnectedControllers(void *linux_side, InputHandle_t * handlesOut) +{ + return ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); +} + +void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *linux_side) +{ + ((ISteamInput*)linux_side)->EnableDeviceCallbacks(); +} + +InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +{ + return ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); +} + +void cppISteamInput_SteamInput005_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +{ + ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); +} + +InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +{ + return ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); +} + +void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +{ + ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); +} + +void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +{ + ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); +} + +void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +{ + ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); +} + +int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +{ + return ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); +} + +InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +{ + return ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); +} + +InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +{ + return ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); +} + +int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +{ + return ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); +} + +const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *linux_side, InputDigitalActionHandle_t eActionHandle) +{ + return ((ISteamInput*)linux_side)->GetStringForDigitalActionName((InputDigitalActionHandle_t)eActionHandle); +} + +InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +{ + return ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); +} + +InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +{ + return ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); +} + +int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +{ + return ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); +} + +const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +{ + return ((ISteamInput*)linux_side)->GetGlyphPNGForActionOrigin((EInputActionOrigin)eOrigin, (ESteamInputGlyphSize)eSize, (uint32)unFlags); +} + +const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, uint32 unFlags) +{ + return ((ISteamInput*)linux_side)->GetGlyphSVGForActionOrigin((EInputActionOrigin)eOrigin, (uint32)unFlags); +} + +const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *linux_side, EInputActionOrigin eOrigin) +{ + return ((ISteamInput*)linux_side)->GetGlyphForActionOrigin_Legacy((EInputActionOrigin)eOrigin); +} + +const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +{ + return ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); +} + +const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *linux_side, InputAnalogActionHandle_t eActionHandle) +{ + return ((ISteamInput*)linux_side)->GetStringForAnalogActionName((InputAnalogActionHandle_t)eActionHandle); +} + +void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +{ + ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); +} + +InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *linux_side, InputHandle_t inputHandle) +{ + return ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); +} + +void cppISteamInput_SteamInput005_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +{ + ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); +} + +void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +{ + ((ISteamInput*)linux_side)->TriggerVibrationExtended((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed, (unsigned short)usLeftTriggerSpeed, (unsigned short)usRightTriggerSpeed); +} + +void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *linux_side, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +{ + ((ISteamInput*)linux_side)->TriggerSimpleHapticEvent((InputHandle_t)inputHandle, (EControllerHapticLocation)eHapticLocation, (uint8)nIntensity, (char)nGainDB, (uint8)nOtherIntensity, (char)nOtherGainDB); +} + +void cppISteamInput_SteamInput005_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +{ + ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); +} + +void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +{ + ((ISteamInput*)linux_side)->Legacy_TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); +} + +void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +{ + ((ISteamInput*)linux_side)->Legacy_TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); +} + +bool cppISteamInput_SteamInput005_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +{ + return ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); +} + +ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +{ + return ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); +} + +InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *linux_side, int nIndex) +{ + return ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); +} + +int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +{ + return ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); +} + +const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +{ + return ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); +} + +const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +{ + return ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); +} + +EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +{ + return ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); +} + +EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +{ + return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); +} + +bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +{ + return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); +} + +uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +{ + return ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); +} + +uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *linux_side) +{ + return ((ISteamInput*)linux_side)->GetSessionInputConfigurationSettings(); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamInput_SteamInput005.h b/lsteamclient/cppISteamInput_SteamInput005.h new file mode 100644 index 00000000..903dc799 --- /dev/null +++ b/lsteamclient/cppISteamInput_SteamInput005.h @@ -0,0 +1,47 @@ +extern bool cppISteamInput_SteamInput005_Init(void *, bool); +extern bool cppISteamInput_SteamInput005_Shutdown(void *); +extern bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *, const char *); +extern void cppISteamInput_SteamInput005_RunFrame(void *, bool); +extern bool cppISteamInput_SteamInput005_BWaitForData(void *, bool, uint32); +extern bool cppISteamInput_SteamInput005_BNewDataAvailable(void *); +extern int cppISteamInput_SteamInput005_GetConnectedControllers(void *, InputHandle_t *); +extern void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *); +extern void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *, SteamInputActionEventCallbackPointer); +extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *, const char *); +extern void cppISteamInput_SteamInput005_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); +extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *, InputHandle_t); +extern void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); +extern void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); +extern void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *, InputHandle_t); +extern int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); +extern InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *, const char *); +extern InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); +extern int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); +extern const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *, InputDigitalActionHandle_t); +extern InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *, const char *); +extern InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); +extern int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); +extern const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *, EInputActionOrigin, ESteamInputGlyphSize, uint32); +extern const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *, EInputActionOrigin, uint32); +extern const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *, EInputActionOrigin); +extern const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *, EInputActionOrigin); +extern const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *, InputAnalogActionHandle_t); +extern void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); +extern InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *, InputHandle_t); +extern void cppISteamInput_SteamInput005_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); +extern void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *, InputHandle_t, unsigned short, unsigned short, unsigned short, unsigned short); +extern void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *, InputHandle_t, EControllerHapticLocation, uint8, char, uint8, char); +extern void cppISteamInput_SteamInput005_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); +extern void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); +extern void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); +extern bool cppISteamInput_SteamInput005_ShowBindingPanel(void *, InputHandle_t); +extern ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *, InputHandle_t); +extern InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *, int); +extern int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *, InputHandle_t); +extern const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *, EXboxOrigin); +extern const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *, EXboxOrigin); +extern EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); +extern EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); +extern bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); +extern uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *, InputHandle_t); +extern uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp index 14492f1a..299b7d46 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 1a5c8629..18b6afba 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 a90dc685..cb7b69bb 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 c50b4218..47754e15 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 039d1d37..e71c8f2f 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp index b3db9cc0..16befc0e 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamnetworkingmessages.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamnetworkingmessages.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *linux_side, const SteamNetworkingIdentity * identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h index 0224fb07..30c957ec 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h @@ -1,5 +1,5 @@ extern EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *, const SteamNetworkingIdentity *, const void *, uint32, int, int); -extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_151 **, int); +extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_152 **, int); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *, const SteamNetworkingIdentity *); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *, const SteamNetworkingIdentity *); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *, const SteamNetworkingIdentity *, int); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp index 70ddf958..d04e5115 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamnetworkingsockets.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamnetworkingsockets.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets009.h" HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h index 7f9f5c2c..77eef4fa 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h @@ -10,9 +10,9 @@ extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionU extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(void *, HSteamNetConnection, const char *); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(void *, HSteamNetConnection, char *, int); extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(void *, int, winSteamNetworkingMessage_t_151 *const *, int64 *); +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(void *, int, winSteamNetworkingMessage_t_152 *const *, int64 *); extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_151 **, int); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_152 **, int); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); @@ -24,7 +24,7 @@ extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSo extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(void *); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(void *, HSteamNetPollGroup); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_151 **, int); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_152 **, int); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp index 818d4559..2282e410 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamnetworkingutils.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamnetworkingutils.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp index b7aed795..7d019f24 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking006.h" bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp index 4125c216..2209be00 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -1,15 +1,15 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamparentalsettings.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#include "steamworks_sdk_152/isteamparentalsettings.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 fbaac914..d37b2705 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.cpp +++ b/lsteamclient/cppISteamParties_SteamParties002.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamParties_SteamParties002.h" uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side) @@ -21,12 +21,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_151 * pLocation, char * pchMetadata, int cchMetadata) +bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_152 * pLocation, char * pchMetadata, int cchMetadata) { SteamPartyBeaconLocation_t lin_pLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_151(pLocation, &lin_pLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_152(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_151(&lin_pLocation, pLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_152(&lin_pLocation, pLocation); return retval; } @@ -40,21 +40,21 @@ bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux return ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations); } -bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_151 * pLocationList, uint32 uMaxNumLocations) +bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_152 * pLocationList, uint32 uMaxNumLocations) { SteamPartyBeaconLocation_t lin_pLocationList; - win_to_lin_struct_SteamPartyBeaconLocation_t_151(pLocationList, &lin_pLocationList); + win_to_lin_struct_SteamPartyBeaconLocation_t_152(pLocationList, &lin_pLocationList); bool retval = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations); - lin_to_win_struct_SteamPartyBeaconLocation_t_151(&lin_pLocationList, pLocationList); + lin_to_win_struct_SteamPartyBeaconLocation_t_152(&lin_pLocationList, pLocationList); return retval; } -SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_151 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_152 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) { SteamPartyBeaconLocation_t lin_pBeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_151(pBeaconLocation, &lin_pBeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_152(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_151(&lin_pBeaconLocation, pBeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_152(&lin_pBeaconLocation, pBeaconLocation); return retval; } @@ -78,12 +78,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_151 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_152 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) { SteamPartyBeaconLocation_t lin_BeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_151(&BeaconLocation, &lin_BeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_152(&BeaconLocation, &lin_BeaconLocation); bool retval = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut); - lin_to_win_struct_SteamPartyBeaconLocation_t_151(&lin_BeaconLocation, &BeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_152(&lin_BeaconLocation, &BeaconLocation); return retval; } diff --git a/lsteamclient/cppISteamParties_SteamParties002.h b/lsteamclient/cppISteamParties_SteamParties002.h index c6b0543e..247bd04e 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_151 *, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_152 *, 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_151 *, uint32); -extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_151 *, const char *, const char *); +extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_152 *, uint32); +extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_152 *, 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_151, ESteamPartyBeaconLocationData, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_152, ESteamPartyBeaconLocationData, char *, int); diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp index 0ec33460..f39e53f2 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h" uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *linux_side) diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp new file mode 100644 index 00000000..af7299ab --- /dev/null +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp @@ -0,0 +1,311 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_152 +#include "struct_converters.h" +#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +{ + return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *linux_side, const char * pchFile, const void * pvData, uint32 cubData) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *linux_side, const char * pchFile, uint32 nOffset, uint32 cubToRead) +{ + return ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +{ + return ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +{ + return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); +} + +UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +{ + return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); +} + +int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); +} + +ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); +} + +const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *linux_side, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +{ + return ((ISteamRemoteStorage*)linux_side)->GetQuota((uint64 *)pnTotalBytes, (uint64 *)puAvailableBytes); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); +} + +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +{ + ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +{ + return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +{ + return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +{ + return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +{ + return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); +} + +UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +{ + return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +{ + return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); +} + +PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +{ + return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +{ + return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +{ + return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +{ + return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +{ + return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +{ + return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +{ + return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +{ + return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +{ + return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +{ + return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +{ + return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); +} + +SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +{ + return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->GetLocalFileChangeCount(); +} + +const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *linux_side, int iFile, ERemoteStorageLocalFileChange * pEChangeType, ERemoteStorageFilePathType * pEFilePathType) +{ + return ((ISteamRemoteStorage*)linux_side)->GetLocalFileChange((int)iFile, (ERemoteStorageLocalFileChange *)pEChangeType, (ERemoteStorageFilePathType *)pEFilePathType); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->BeginFileWriteBatch(); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->EndFileWriteBatch(); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h new file mode 100644 index 00000000..64569c23 --- /dev/null +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h @@ -0,0 +1,59 @@ +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *, const char *, const void *, int32); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *, const char *, void *, int32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *, const char *, const void *, uint32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *, const char *, uint32, uint32); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *, const char *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); +extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *, const char *); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *, const char *); +extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *, const char *); +extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *, const char *); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *); +extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *, int, int32 *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *, uint64 *, uint64 *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *); +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *, bool); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *, UGCHandle_t, uint32); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *); +extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *, int32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); +extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *, uint32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *, uint32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *, PublishedFileId_t); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *); +extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *, int, ERemoteStorageLocalFileChange *, ERemoteStorageFilePathType *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *); +extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index 01a08971..7590904f 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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_VERSION015.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp index 4f3f2c8d..0d75bd12 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) @@ -36,12 +36,12 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(vo return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_151 * pDetails) +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 * pDetails) { SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_151(pDetails, &lin_pDetails); + win_to_lin_struct_SteamUGCDetails_t_152(pDetails, &lin_pDetails); bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_151(&lin_pDetails, pDetails); + lin_to_win_struct_SteamUGCDetails_t_152(&lin_pDetails, pDetails); return retval; } @@ -425,6 +425,16 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *linux return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); } +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h index b3d0fbbb..11871fc1 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h @@ -3,7 +3,7 @@ extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAl extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_151 *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_152 *); extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); @@ -80,3 +80,5 @@ extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependenc extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(void *, PublishedFileId_t); extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *, PublishedFileId_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp index 95dd9da5..c224f0f7 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *linux_side) @@ -161,12 +161,12 @@ SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLe return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_151 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_152 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_151(pLeaderboardEntry, &lin_pLeaderboardEntry); + win_to_lin_struct_LeaderboardEntry_t_152(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_151(&lin_pLeaderboardEntry, pLeaderboardEntry); + lin_to_win_struct_LeaderboardEntry_t_152(&lin_pLeaderboardEntry, pLeaderboardEntry); return retval; } diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h index 1b9956a0..66ea4fcb 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h @@ -28,7 +28,7 @@ extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSIO extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_151 *, int32 *, int); +extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_152 *, int32 *, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser021.cpp b/lsteamclient/cppISteamUser_SteamUser021.cpp index 1642426e..a74c064f 100644 --- a/lsteamclient/cppISteamUser_SteamUser021.cpp +++ b/lsteamclient/cppISteamUser_SteamUser021.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamUser_SteamUser021.h" HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *linux_side) @@ -26,14 +26,14 @@ CSteamID cppISteamUser_SteamUser021_GetSteamID(void *linux_side) return ((ISteamUser*)linux_side)->GetSteamID(); } -int cppISteamUser_SteamUser021_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + return ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); } -void cppISteamUser_SteamUser021_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); } void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) diff --git a/lsteamclient/cppISteamUser_SteamUser021.h b/lsteamclient/cppISteamUser_SteamUser021.h index 739feec4..b203a75c 100644 --- a/lsteamclient/cppISteamUser_SteamUser021.h +++ b/lsteamclient/cppISteamUser_SteamUser021.h @@ -1,8 +1,8 @@ extern HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *); extern bool cppISteamUser_SteamUser021_BLoggedOn(void *); extern CSteamID cppISteamUser_SteamUser021_GetSteamID(void *); -extern int cppISteamUser_SteamUser021_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser021_TerminateGameConnection(void *, uint32, uint16); +extern int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); +extern void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); extern void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *, CGameID, int, const char *); extern bool cppISteamUser_SteamUser021_GetUserDataFolder(void *, char *, int); extern void cppISteamUser_SteamUser021_StartVoiceRecording(void *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.cpp b/lsteamclient/cppISteamUtils_SteamUtils010.cpp index 835c960e..0dd20f0f 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils010.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils010.h" uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *linux_side) @@ -181,6 +181,21 @@ ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityStat return ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol); } +bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *linux_side) +{ + return ((ISteamUtils*)linux_side)->IsSteamRunningOnSteamDeck(); +} + +bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *linux_side, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) +{ + return ((ISteamUtils*)linux_side)->ShowFloatingGamepadTextInput((EFloatingGamepadTextInputMode)eKeyboardMode, (int)nTextFieldXPosition, (int)nTextFieldYPosition, (int)nTextFieldWidth, (int)nTextFieldHeight); +} + +void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *linux_side, bool bLauncherMode) +{ + ((ISteamUtils*)linux_side)->SetGameLauncherMode((bool)bLauncherMode); +} + #ifdef __cplusplus } #endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.h b/lsteamclient/cppISteamUtils_SteamUtils010.h index 4acac1a9..1a735374 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.h +++ b/lsteamclient/cppISteamUtils_SteamUtils010.h @@ -32,3 +32,6 @@ extern bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *); extern bool cppISteamUtils_SteamUtils010_InitFilterText(void *, uint32); extern int cppISteamUtils_SteamUtils010_FilterText(void *, ETextFilteringContext, CSteamID, const char *, char *, uint32); extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol); +extern bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *); +extern bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *, EFloatingGamepadTextInputMode, int, int, int, int); +extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *, bool); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index 8404ca5d..d1de95b6 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -1,14 +1,14 @@ #include "steam_defs.h" #pragma push_macro("__cdecl") #undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_151 +#define SDKVER_152 #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 219f3dec..83ea7000 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -5,7 +5,7 @@ from __future__ import print_function -CLANG_PATH='/usr/lib/clang/11.1.0' +CLANG_PATH='/usr/lib/clang/12.0.1' import pprint import sys @@ -15,6 +15,7 @@ import re import math sdk_versions = [ + "152", "151", "150", "149", @@ -218,6 +219,9 @@ manually_handled_methods = { "cppISteamNetworkingMessages_SteamNetworkingMessages002": [ "ReceiveMessagesOnChannel" ], + "cppISteamInput_SteamInput005": [ + "EnableActionEventCallbacks" + ], } # manual converters for simple types (function pointers) @@ -586,6 +590,8 @@ def struct_needs_conversion_nocache(struct): #check 32-bit compat windows_struct = find_windows_struct(struct) + if windows_struct is None: + print("Couldn't find windows struct for " + struct.spelling) assert(not windows_struct is None) #must find windows_struct for field in struct.get_fields(): if struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): diff --git a/lsteamclient/steam_defs.h b/lsteamclient/steam_defs.h index 7dcd76e8..675a242f 100644 --- a/lsteamclient/steam_defs.h +++ b/lsteamclient/steam_defs.h @@ -99,7 +99,12 @@ typedef uint32_t EUserUGCList, ESteamIPv6ConnectivityProtocol, EDurationControlOnlineState, ETextFilteringContext, - ESteamNetworkingConnectionState + ESteamNetworkingConnectionState, + EFloatingGamepadTextInputMode, + ERemoteStorageLocalFileChange, + ERemoteStorageFilePathType, + ESteamInputGlyphSize, + EControllerHapticLocation ; /* XXX NO */ @@ -226,6 +231,7 @@ typedef struct SteamRelayNetworkStatus_t SteamRelayNetworkStatus_t; typedef struct SteamIPAddress_t SteamIPAddress_t; typedef struct SteamNetworkingConfigValue_t SteamNetworkingConfigValue_t; typedef struct SteamNetworkingMessage_t SteamNetworkingMessage_t; +typedef struct SteamInputActionEvent_t SteamInputActionEvent_t; typedef uint32 (*SteamAPI_CheckCallbackRegistered_t)(int cb); typedef void *SteamAPIWarningMessageHook_t; //already cdecl, no need for conversion(?) @@ -291,6 +297,8 @@ typedef uint32 SteamNetworkingPOPID; typedef uint32 RemotePlaySessionID_t; typedef char* SteamNetworkingErrMsg; +typedef void (*SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); + #pragma pack( push, 4 ) typedef struct CallbackMsg_t { diff --git a/lsteamclient/steamclient_manual_152.cpp b/lsteamclient/steamclient_manual_152.cpp new file mode 100644 index 00000000..c1974a58 --- /dev/null +++ b/lsteamclient/steamclient_manual_152.cpp @@ -0,0 +1,41 @@ +extern "C" { +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +} + +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/isteaminput.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" + +extern "C" { +#define SDKVER_152 +#include "struct_converters.h" +#include "cb_converters.h" + +/***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ +typedef void (*CDECL win_SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); +win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; + +void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat) +{ + win_SteamInputActionEventCallbackPointer fn = win_EnableActionEventCallbacks; + if(fn) + fn(dat); +} + +void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback) +{ + win_EnableActionEventCallbacks = pCallback; + ((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL); +} + +} diff --git a/lsteamclient/steamworks_sdk_152/isteamappticket.h b/lsteamclient/steamworks_sdk_152/isteamappticket.h index 6f239060..30399263 100644 --- a/lsteamclient/steamworks_sdk_152/isteamappticket.h +++ b/lsteamclient/steamworks_sdk_152/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_152/isteamclient.h b/lsteamclient/steamworks_sdk_152/isteamclient.h index 682e8508..278614db 100644 --- a/lsteamclient/steamworks_sdk_152/isteamclient.h +++ b/lsteamclient/steamworks_sdk_152/isteamclient.h @@ -56,7 +56,7 @@ public: // set the local IP and Port to bind to // this must be set before CreateLocalUser() - virtual void SetLocalIPBinding( const SteamIPAddress_t &unIP, uint16 usPort ) = 0; + virtual void SetLocalIPBinding( const SteamIPAddress_t *unIP, uint16 usPort ) = 0; // returns the ISteamFriends interface virtual ISteamFriends *GetISteamFriends( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; diff --git a/lsteamclient/steamworks_sdk_152/isteaminput.h b/lsteamclient/steamworks_sdk_152/isteaminput.h index 9ec9a403..a99b7f1e 100644 --- a/lsteamclient/steamworks_sdk_152/isteaminput.h +++ b/lsteamclient/steamworks_sdk_152/isteaminput.h @@ -586,7 +586,7 @@ struct SteamInputActionEvent_t InputDigitalActionHandle_t actionHandle; InputDigitalActionData_t digitalActionData; } digitalAction; - }; + } x; }; #pragma pack( pop ) @@ -858,4 +858,4 @@ struct SteamInputConfigurationLoaded_t #pragma pack( pop ) -#endif // ISTEAMINPUT_H \ No newline at end of file +#endif // ISTEAMINPUT_H diff --git a/lsteamclient/steamworks_sdk_152/isteamnetworkingmessages.h b/lsteamclient/steamworks_sdk_152/isteamnetworkingmessages.h index 4cf33655..90ffa5e2 100644 --- a/lsteamclient/steamworks_sdk_152/isteamnetworkingmessages.h +++ b/lsteamclient/steamworks_sdk_152/isteamnetworkingmessages.h @@ -2,7 +2,6 @@ #ifndef ISTEAMNETWORKINGMESSAGES #define ISTEAMNETWORKINGMESSAGES -#pragma once #include "steamnetworkingtypes.h" #include "steam_api_common.h" @@ -78,7 +77,7 @@ public: /// GetSessionConnectionInfo to get the details.) In order to acknowledge the broken session /// and start a new one, you must call CloseSessionWithUser /// - See ISteamNetworkingSockets::SendMessageToConnection for more possible return values - virtual EResult SendMessageToUser( const SteamNetworkingIdentity &identityRemote, const void *pubData, uint32 cubData, int nSendFlags, int nRemoteChannel ) = 0; + virtual EResult SendMessageToUser( const SteamNetworkingIdentity *identityRemote, const void *pubData, uint32 cubData, int nSendFlags, int nRemoteChannel ) = 0; /// Reads the next message that has been sent from another user via SendMessageToUser() on the given channel. /// Returns number of messages returned into your list. (0 if no message are available on that channel.) @@ -96,20 +95,20 @@ public: /// existing active session, this function will return true, even if it is not pending. /// /// Calling SendMessageToUser() will implicitly accepts any pending session request to that user. - virtual bool AcceptSessionWithUser( const SteamNetworkingIdentity &identityRemote ) = 0; + virtual bool AcceptSessionWithUser( const SteamNetworkingIdentity *identityRemote ) = 0; /// Call this when you're done talking to a user to immediately free up resources under-the-hood. /// If the remote user tries to send data to you again, another SteamNetworkingMessagesSessionRequest_t /// callback will be posted. /// /// Note that sessions that go unused for a few minutes are automatically timed out. - virtual bool CloseSessionWithUser( const SteamNetworkingIdentity &identityRemote ) = 0; + virtual bool CloseSessionWithUser( const SteamNetworkingIdentity *identityRemote ) = 0; /// Call this when you're done talking to a user on a specific channel. Once all /// open channels to a user have been closed, the open session to the user will be /// closed, and any new data from this user will trigger a /// SteamSteamNetworkingMessagesSessionRequest_t callback - virtual bool CloseChannelWithUser( const SteamNetworkingIdentity &identityRemote, int nLocalChannel ) = 0; + virtual bool CloseChannelWithUser( const SteamNetworkingIdentity *identityRemote, int nLocalChannel ) = 0; /// Returns information about the latest state of a connection, if any, with the given peer. /// Primarily intended for debugging purposes, but can also be used to get more detailed @@ -120,7 +119,7 @@ public: /// you do not need the corresponding details. Note that sessions time out after a while, /// so if a connection fails, or SendMessageToUser returns k_EResultNoConnection, you cannot wait /// indefinitely to obtain the reason for failure. - virtual ESteamNetworkingConnectionState GetSessionConnectionInfo( const SteamNetworkingIdentity &identityRemote, SteamNetConnectionInfo_t *pConnectionInfo, SteamNetworkingQuickConnectionStatus *pQuickStatus ) = 0; + virtual ESteamNetworkingConnectionState GetSessionConnectionInfo( const SteamNetworkingIdentity *identityRemote, SteamNetConnectionInfo_t *pConnectionInfo, SteamNetworkingQuickConnectionStatus *pQuickStatus ) = 0; }; #define STEAMNETWORKINGMESSAGES_INTERFACE_VERSION "SteamNetworkingMessages002" diff --git a/lsteamclient/steamworks_sdk_152/isteamnetworkingsockets.h b/lsteamclient/steamworks_sdk_152/isteamnetworkingsockets.h index 73f21eab..31e0f80a 100644 --- a/lsteamclient/steamworks_sdk_152/isteamnetworkingsockets.h +++ b/lsteamclient/steamworks_sdk_152/isteamnetworkingsockets.h @@ -2,7 +2,6 @@ #ifndef ISTEAMNETWORKINGSOCKETS #define ISTEAMNETWORKINGSOCKETS -#pragma once #include "steamnetworkingtypes.h" #include "steam_api_common.h" @@ -60,7 +59,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, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + virtual HSteamListenSocket CreateListenSocketIP( const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 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 @@ -84,7 +83,7 @@ public: /// If you need to set any initial config options, pass them here. See /// SteamNetworkingConfigValue_t for more about why this is preferable to /// setting the options "immediately" after creation. - virtual HSteamNetConnection ConnectByIPAddress( const SteamNetworkingIPAddr &address, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + virtual HSteamNetConnection ConnectByIPAddress( const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; /// Like CreateListenSocketIP, but clients will connect using ConnectP2P. /// @@ -122,7 +121,7 @@ public: /// To use your own signaling service, see: /// - ConnectP2PCustomSignaling /// - k_ESteamNetworkingConfig_Callback_CreateConnectionSignaling - virtual HSteamNetConnection ConnectP2P( const SteamNetworkingIdentity &identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + virtual HSteamNetConnection ConnectP2P( const SteamNetworkingIdentity *identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; /// Accept an incoming connection that has been received on a listen socket. /// @@ -487,7 +486,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 nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket ) = 0; + virtual int FindRelayAuthTicketForServer( const SteamNetworkingIdentity *identityGameServer, int nRemoteVirtualPort, 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 @@ -505,7 +504,7 @@ public: /// If you need to set any initial config options, pass them here. See /// SteamNetworkingConfigValue_t for more about why this is preferable to /// setting the options "immediately" after creation. - virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity &identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity *identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; // // Servers hosted in data centers known to the Valve relay network @@ -684,11 +683,11 @@ public: /// size. (512 bytes is a conservative estimate.) /// /// Pass this blob to your game coordinator and call SteamDatagram_CreateCert. - virtual bool GetCertificateRequest( int *pcbBlob, void *pBlob, SteamNetworkingErrMsg &errMsg ) = 0; + virtual bool GetCertificateRequest( int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg ) = 0; /// Set the certificate. The certificate blob should be the output of /// SteamDatagram_CreateCert. - virtual bool SetCertificate( const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg &errMsg ) = 0; + virtual bool SetCertificate( const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg ) = 0; /// Invoke all callback functions queued for this interface. /// See k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged, etc diff --git a/lsteamclient/steamworks_sdk_152/isteamnetworkingutils.h b/lsteamclient/steamworks_sdk_152/isteamnetworkingutils.h index 65fda2a8..d56d8ad3 100644 --- a/lsteamclient/steamworks_sdk_152/isteamnetworkingutils.h +++ b/lsteamclient/steamworks_sdk_152/isteamnetworkingutils.h @@ -6,7 +6,6 @@ #ifndef ISTEAMNETWORKINGUTILS #define ISTEAMNETWORKINGUTILS -#pragma once #include "steamnetworkingtypes.h" #include "steam_api_common.h" @@ -107,7 +106,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 @@ -131,7 +130,7 @@ public: /// /// Do you need to be able to do this from a backend/matchmaking server? /// You are looking for the "game coordinator" 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 @@ -141,17 +140,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. @@ -283,7 +282,7 @@ public: /// (This is just a convenience shortcut; see below for the implementation and /// a little insight into how SteamNetworkingConfigValue_t is used when /// setting config options during listen socket and connection creation.) - bool SetConfigValueStruct( const SteamNetworkingConfigValue_t &opt, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj ); + bool SetConfigValueStruct( const SteamNetworkingConfigValue_t *opt, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj ); /// Get a configuration value. /// - eValue: which value to fetch @@ -309,9 +308,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: @@ -385,6 +384,7 @@ struct SteamRelayNetworkStatus_t char m_debugMsg[ 256 ]; }; +#if 0 /// Utility class for printing a SteamNetworkingIdentity. /// E.g. printf( "Identity is '%s'\n", SteamNetworkingIdentityRender( identity ).c_str() ); struct SteamNetworkingIdentityRender @@ -431,6 +431,7 @@ inline bool ISteamNetworkingUtils::SetConfigValueStruct( const SteamNetworkingCo const void *pVal = ( opt.m_eDataType == k_ESteamNetworkingConfig_String ) ? (const void *)opt.m_val.m_string : (const void *)&opt.m_val; return SetConfigValue( opt.m_eValue, eScopeType, scopeObj, opt.m_eDataType, pVal ); } +#endif // How to get helper functions. #if defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) || defined( STEAMNETWORKINGSOCKETS_STANDALONELIB ) @@ -447,10 +448,12 @@ inline bool ISteamNetworkingUtils::SetConfigValueStruct( const SteamNetworkingCo #elif defined( STEAMNETWORKINGSOCKETS_STEAMAPI ) // Using steamworks SDK - go through SteamNetworkingUtils() +#if 0 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 #else #error "Invalid config" #endif diff --git a/lsteamclient/steamworks_sdk_152/steamnetworkingtypes.h b/lsteamclient/steamworks_sdk_152/steamnetworkingtypes.h index d8cd79af..5b3c6e4c 100644 --- a/lsteamclient/steamworks_sdk_152/steamnetworkingtypes.h +++ b/lsteamclient/steamworks_sdk_152/steamnetworkingtypes.h @@ -6,7 +6,6 @@ #ifndef STEAMNETWORKINGTYPES #define STEAMNETWORKINGTYPES -#pragma once #include #include @@ -221,7 +220,7 @@ struct SteamNetworkingIPAddr { uint8 m_ipv6[ 16 ]; IPv4MappedAddress m_ipv4; - }; + } data; uint16 m_port; // Host byte order /// See if two addresses are identical @@ -303,7 +302,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) @@ -1652,6 +1651,7 @@ private: typedef SteamNetworkingMessage_t ISteamNetworkingMessage; typedef SteamNetworkingErrMsg SteamDatagramErrMsg; +#if 0 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; } @@ -1681,6 +1681,7 @@ inline const uint8 *SteamNetworkingIdentity::GetGenericBytes( int &cbLen ) const 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 ); } +#endif #endif // #ifndef API_GEN diff --git a/lsteamclient/steamworks_sdk_152/steamtypes.h b/lsteamclient/steamworks_sdk_152/steamtypes.h index 966aa122..10019cde 100644 --- a/lsteamclient/steamworks_sdk_152/steamtypes.h +++ b/lsteamclient/steamworks_sdk_152/steamtypes.h @@ -17,7 +17,7 @@ typedef unsigned char uint8; #endif -#if defined( __GNUC__ ) && !defined(_WIN32) && !defined(POSIX) +#if defined( __GNUC__ ) && !defined(POSIX) #if __GNUC__ < 4 #error "Steamworks requires GCC 4.X (4.2 or 4.4 have been tested)" #endif @@ -120,7 +120,7 @@ enum ESteamIPType struct SteamIPAddress_t { - union { + union x { uint32 m_unIPv4; // Host order uint8 m_rgubIPv6[16]; // Network order! Same as inaddr_in6. (0011:2233:4455:6677:8899:aabb:ccdd:eeff) @@ -133,53 +133,27 @@ struct SteamIPAddress_t bool IsSet() const { - if ( k_ESteamIPTypeIPv4 == m_eType ) - { - return m_unIPv4 != 0; - } - else - { - return m_ipv6Qword[0] !=0 || m_ipv6Qword[1] != 0; - } + return true; } static SteamIPAddress_t IPv4Any() { - SteamIPAddress_t ipOut; - ipOut.m_eType = k_ESteamIPTypeIPv4; - ipOut.m_unIPv4 = 0; - - return ipOut; + return {}; } static SteamIPAddress_t IPv6Any() { - SteamIPAddress_t ipOut; - ipOut.m_eType = k_ESteamIPTypeIPv6; - ipOut.m_ipv6Qword[0] = 0; - ipOut.m_ipv6Qword[1] = 0; - - return ipOut; + return {}; } static SteamIPAddress_t IPv4Loopback() { - SteamIPAddress_t ipOut; - ipOut.m_eType = k_ESteamIPTypeIPv4; - ipOut.m_unIPv4 = 0x7f000001; - - return ipOut; + return {}; } static SteamIPAddress_t IPv6Loopback() { - SteamIPAddress_t ipOut; - ipOut.m_eType = k_ESteamIPTypeIPv6; - ipOut.m_ipv6Qword[0] = 0; - ipOut.m_ipv6Qword[1] = 0; - ipOut.m_rgubIPv6[15] = 1; - - return ipOut; + return {}; } }; diff --git a/lsteamclient/struct_converters.h b/lsteamclient/struct_converters.h index 9cc5fa32..e99b4dad 100644 --- a/lsteamclient/struct_converters.h +++ b/lsteamclient/struct_converters.h @@ -1,3 +1,90 @@ +#if defined(SDKVER_152) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamPartyBeaconLocation_t_152 { + ESteamPartyBeaconLocationType m_eType; + uint64 m_ulLocationID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamPartyBeaconLocation_t_152 winSteamPartyBeaconLocation_t_152; +struct SteamPartyBeaconLocation_t; +extern void win_to_lin_struct_SteamPartyBeaconLocation_t_152(const struct winSteamPartyBeaconLocation_t_152 *w, struct SteamPartyBeaconLocation_t *l); +extern void lin_to_win_struct_SteamPartyBeaconLocation_t_152(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_152 *w); +#endif + +#if defined(SDKVER_152) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winLeaderboardEntry_t_152 { + 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_152 winLeaderboardEntry_t_152; +struct LeaderboardEntry_t; +extern void win_to_lin_struct_LeaderboardEntry_t_152(const struct winLeaderboardEntry_t_152 *w, struct LeaderboardEntry_t *l); +extern void lin_to_win_struct_LeaderboardEntry_t_152(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_152 *w); +#endif + +#if defined(SDKVER_152) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamUGCDetails_t_152 { + 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_152 winSteamUGCDetails_t_152; +struct SteamUGCDetails_t; +extern void win_to_lin_struct_SteamUGCDetails_t_152(const struct winSteamUGCDetails_t_152 *w, struct SteamUGCDetails_t *l); +extern void lin_to_win_struct_SteamUGCDetails_t_152(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_152 *w); +#endif + +#if defined(SDKVER_152) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamNetworkingMessage_t_152 { + void * m_pData; + int m_cbSize; + HSteamNetConnection m_conn; + SteamNetworkingIdentity m_identityPeer __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_nFlags; + int64 m_nUserData; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamNetworkingMessage_t_152 winSteamNetworkingMessage_t_152; +struct SteamNetworkingMessage_t; +#endif + #if defined(SDKVER_151) || !defined(__cplusplus) #pragma pack( push, 8 ) struct winSteamPartyBeaconLocation_t_151 { diff --git a/lsteamclient/struct_converters_150.cpp b/lsteamclient/struct_converters_150.cpp index 484ddd42..3bd9fe2c 100644 --- a/lsteamclient/struct_converters_150.cpp +++ b/lsteamclient/struct_converters_150.cpp @@ -102,19 +102,5 @@ void lin_to_win_struct_SteamUGCDetails_t_150(const struct SteamUGCDetails_t *lin win->m_unNumChildren = lin->m_unNumChildren; } -#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_151.cpp b/lsteamclient/struct_converters_151.cpp index 3d422fbd..e87bb63b 100644 --- a/lsteamclient/struct_converters_151.cpp +++ b/lsteamclient/struct_converters_151.cpp @@ -12,20 +12,6 @@ extern "C" { #define SDKVER_151 #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_151(const struct winSteamPartyBeaconLocation_t_151 *win, struct SteamPartyBeaconLocation_t *lin) { lin->m_eType = win->m_eType; @@ -38,126 +24,6 @@ void lin_to_win_struct_SteamPartyBeaconLocation_t_151(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]; @@ -176,300 +42,6 @@ void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProg 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_151(const struct winLeaderboardEntry_t_151 *win, struct LeaderboardEntry_t *lin) { lin->m_steamIDUser = win->m_steamIDUser; @@ -488,114 +60,6 @@ void lin_to_win_struct_LeaderboardEntry_t_151(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_151(const struct winSteamUGCDetails_t_151 *win, struct SteamUGCDetails_t *lin) { lin->m_nPublishedFileId = win->m_nPublishedFileId; @@ -656,732 +120,6 @@ void lin_to_win_struct_SteamUGCDetails_t_151(const struct SteamUGCDetails_t *lin win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9784 { - winSteamUGCDetails_t_151 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_151(&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 winSteamNetConnectionStatusChangedCallback_t_584 { HSteamNetConnection m_hConn; @@ -1396,27 +134,5 @@ void cb_SteamNetConnectionStatusChangedCallback_t_584(const struct SteamNetConne win->m_eOldState = lin->m_eOldState; } -#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; -} - } diff --git a/lsteamclient/struct_converters_152.cpp b/lsteamclient/struct_converters_152.cpp new file mode 100644 index 00000000..20dbc138 --- /dev/null +++ b/lsteamclient/struct_converters_152.cpp @@ -0,0 +1,1426 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#include "steamworks_sdk_152/steam_api.h" +#include "steamworks_sdk_152/isteamgameserver.h" +#include "steamworks_sdk_152/isteamnetworkingsockets.h" +#include "steamworks_sdk_152/isteamgameserverstats.h" +#include "steamworks_sdk_152/isteamgamecoordinator.h" +#include "steamworks_sdk_152/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +extern "C" { +#define SDKVER_152 +#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_152(const struct winSteamPartyBeaconLocation_t_152 *win, struct SteamPartyBeaconLocation_t *lin) +{ + lin->m_eType = win->m_eType; + lin->m_ulLocationID = win->m_ulLocationID; +} + +void lin_to_win_struct_SteamPartyBeaconLocation_t_152(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_152 *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 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_152(const struct winLeaderboardEntry_t_152 *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_152(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_152 *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; +} + +#pragma pack( push, 8 ) +struct winSteamInputConfigurationLoaded_t_40 { + AppId_t m_unAppID; + InputHandle_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator __attribute__((aligned(1))); + uint32 m_unMajorRevision; + uint32 m_unMinorRevision; + bool m_bUsesSteamInputAPI; + bool m_bUsesGamepadAPI; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *lin, struct winSteamInputConfigurationLoaded_t_40 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_ulDeviceHandle = lin->m_ulDeviceHandle; + win->m_ulMappingCreator = lin->m_ulMappingCreator; + win->m_unMajorRevision = lin->m_unMajorRevision; + win->m_unMinorRevision = lin->m_unMinorRevision; + win->m_bUsesSteamInputAPI = lin->m_bUsesSteamInputAPI; + win->m_bUsesGamepadAPI = lin->m_bUsesGamepadAPI; +} + +void win_to_lin_struct_SteamUGCDetails_t_152(const struct winSteamUGCDetails_t_152 *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_152(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_152 *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_152 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_152(&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 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; +} + +#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; +} + + +} diff --git a/lsteamclient/winISteamGameServer.c b/lsteamclient/winISteamGameServer.c index 58d2b71b..507b98bc 100644 --- a/lsteamclient/winISteamGameServer.c +++ b/lsteamclient/winISteamGameServer.c @@ -15,6 +15,388 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamGameServer_SteamGameServer014.h" + +typedef struct __winISteamGameServer_SteamGameServer014 { + vtable_ptr *vtable; + void *linux_side; +} winISteamGameServer_SteamGameServer014; + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_InitGameServer, 28) +bool __thiscall winISteamGameServer_SteamGameServer014_InitGameServer(winISteamGameServer_SteamGameServer014 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetProduct, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetProduct(winISteamGameServer_SteamGameServer014 *_this, const char * pszProduct) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetProduct(_this->linux_side, pszProduct); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameDescription, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameDescription(winISteamGameServer_SteamGameServer014 *_this, const char * pszGameDescription) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetGameDescription(_this->linux_side, pszGameDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetModDir, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetModDir(winISteamGameServer_SteamGameServer014 *_this, const char * pszModDir) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetModDir(_this->linux_side, pszModDir); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetDedicatedServer, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetDedicatedServer(winISteamGameServer_SteamGameServer014 *_this, bool bDedicated) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetDedicatedServer(_this->linux_side, bDedicated); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOn, 8) +void __thiscall winISteamGameServer_SteamGameServer014_LogOn(winISteamGameServer_SteamGameServer014 *_this, const char * pszToken) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_LogOn(_this->linux_side, pszToken); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOnAnonymous, 4) +void __thiscall winISteamGameServer_SteamGameServer014_LogOnAnonymous(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_LogOnAnonymous(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOff, 4) +void __thiscall winISteamGameServer_SteamGameServer014_LogOff(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_LogOff(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BLoggedOn, 4) +bool __thiscall winISteamGameServer_SteamGameServer014_BLoggedOn(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_BLoggedOn(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BSecure, 4) +bool __thiscall winISteamGameServer_SteamGameServer014_BSecure(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_BSecure(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetSteamID, 8) +CSteamID *__thiscall winISteamGameServer_SteamGameServer014_GetSteamID(winISteamGameServer_SteamGameServer014 *_this, CSteamID *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer014_GetSteamID(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_WasRestartRequested, 4) +bool __thiscall winISteamGameServer_SteamGameServer014_WasRestartRequested(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_WasRestartRequested(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetMaxPlayerCount(winISteamGameServer_SteamGameServer014 *_this, int cPlayersMax) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(_this->linux_side, cPlayersMax); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetBotPlayerCount, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetBotPlayerCount(winISteamGameServer_SteamGameServer014 *_this, int cBotplayers) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(_this->linux_side, cBotplayers); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetServerName, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetServerName(winISteamGameServer_SteamGameServer014 *_this, const char * pszServerName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetServerName(_this->linux_side, pszServerName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMapName, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetMapName(winISteamGameServer_SteamGameServer014 *_this, const char * pszMapName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetMapName(_this->linux_side, pszMapName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetPasswordProtected, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetPasswordProtected(winISteamGameServer_SteamGameServer014 *_this, bool bPasswordProtected) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetPasswordProtected(_this->linux_side, bPasswordProtected); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorPort, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorPort(winISteamGameServer_SteamGameServer014 *_this, uint16 unSpectatorPort) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetSpectatorPort(_this->linux_side, unSpectatorPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorServerName, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorServerName(winISteamGameServer_SteamGameServer014 *_this, const char * pszSpectatorServerName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ClearAllKeyValues, 4) +void __thiscall winISteamGameServer_SteamGameServer014_ClearAllKeyValues(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetKeyValue, 12) +void __thiscall winISteamGameServer_SteamGameServer014_SetKeyValue(winISteamGameServer_SteamGameServer014 *_this, const char * pKey, const char * pValue) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetKeyValue(_this->linux_side, pKey, pValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameTags, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameTags(winISteamGameServer_SteamGameServer014 *_this, const char * pchGameTags) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetGameTags(_this->linux_side, pchGameTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameData, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameData(winISteamGameServer_SteamGameServer014 *_this, const char * pchGameData) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetGameData(_this->linux_side, pchGameData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetRegion, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetRegion(winISteamGameServer_SteamGameServer014 *_this, const char * pszRegion) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetRegion(_this->linux_side, pszRegion); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(winISteamGameServer_SteamGameServer014 *_this, bool bActive) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(_this->linux_side, bActive); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket, 16) +HAuthTicket __thiscall winISteamGameServer_SteamGameServer014_GetAuthSessionTicket(winISteamGameServer_SteamGameServer014 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BeginAuthSession, 20) +EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer014_BeginAuthSession(winISteamGameServer_SteamGameServer014 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_EndAuthSession, 12) +void __thiscall winISteamGameServer_SteamGameServer014_EndAuthSession(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamID) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_EndAuthSession(_this->linux_side, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CancelAuthTicket, 8) +void __thiscall winISteamGameServer_SteamGameServer014_CancelAuthTicket(winISteamGameServer_SteamGameServer014 *_this, HAuthTicket hAuthTicket) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_CancelAuthTicket(_this->linux_side, hAuthTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp, 16) +EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer014_UserHasLicenseForApp(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamID, AppId_t appID) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(_this->linux_side, steamID, appID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus, 20) +bool __thiscall winISteamGameServer_SteamGameServer014_RequestUserGroupStatus(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetGameplayStats, 4) +void __thiscall winISteamGameServer_SteamGameServer014_GetGameplayStats(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_GetGameplayStats(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetServerReputation, 4) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_GetServerReputation(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_GetServerReputation(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetPublicIP, 8) +SteamIPAddress_t *__thiscall winISteamGameServer_SteamGameServer014_GetPublicIP(winISteamGameServer_SteamGameServer014 *_this, SteamIPAddress_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer014_GetPublicIP(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_HandleIncomingPacket, 20) +bool __thiscall winISteamGameServer_SteamGameServer014_HandleIncomingPacket(winISteamGameServer_SteamGameServer014 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, 20) +int __thiscall winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer014 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_AssociateWithClan, 12) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_AssociateWithClan(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDClan) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_AssociateWithClan(_this->linux_side, steamIDClan); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, 12) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDNewPlayer) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, 20) +bool __thiscall winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, 8) +CSteamID *__thiscall winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer014 *_this, CSteamID *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, 12) +void __thiscall winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(_this->linux_side, steamIDUser); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BUpdateUserData, 20) +bool __thiscall winISteamGameServer_SteamGameServer014_BUpdateUserData(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer014_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, 8) +void __thiscall winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, int iHeartbeatInterval) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(_this->linux_side, iHeartbeatInterval); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, 4) +void __thiscall winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(_this->linux_side); +} + +extern vtable_ptr winISteamGameServer_SteamGameServer014_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamGameServer_SteamGameServer014, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED) + ); +#ifndef __GNUC__ +} +#endif + +winISteamGameServer_SteamGameServer014 *create_winISteamGameServer_SteamGameServer014(void *linux_side) +{ + winISteamGameServer_SteamGameServer014 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamGameServer_SteamGameServer014)); + TRACE("-> %p\n", r); + r->vtable = &winISteamGameServer_SteamGameServer014_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamGameServer_SteamGameServer013.h" typedef struct __winISteamGameServer_SteamGameServer013 { diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 68877435..42d28c9a 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -15,6 +15,415 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamInput_SteamInput005.h" + +typedef struct __winISteamInput_SteamInput005 { + vtable_ptr *vtable; + void *linux_side; +} winISteamInput_SteamInput005; + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Init, 8) +bool __thiscall winISteamInput_SteamInput005_Init(winISteamInput_SteamInput005 *_this, bool bExplicitlyCallRunFrame) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_Init(_this->linux_side, bExplicitlyCallRunFrame); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Shutdown, 4) +bool __thiscall winISteamInput_SteamInput005_Shutdown(winISteamInput_SteamInput005 *_this) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_Shutdown(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetInputActionManifestFilePath, 8) +bool __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(winISteamInput_SteamInput005 *_this, const char * pchInputActionManifestAbsolutePath) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_SetInputActionManifestFilePath(_this->linux_side, pchInputActionManifestAbsolutePath); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_RunFrame, 8) +void __thiscall winISteamInput_SteamInput005_RunFrame(winISteamInput_SteamInput005 *_this, bool bReservedValue) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_RunFrame(_this->linux_side, bReservedValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BWaitForData, 12) +bool __thiscall winISteamInput_SteamInput005_BWaitForData(winISteamInput_SteamInput005 *_this, bool bWaitForever, uint32 unTimeout) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_BWaitForData(_this->linux_side, bWaitForever, unTimeout); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BNewDataAvailable, 4) +bool __thiscall winISteamInput_SteamInput005_BNewDataAvailable(winISteamInput_SteamInput005 *_this) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_BNewDataAvailable(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetConnectedControllers, 8) +int __thiscall winISteamInput_SteamInput005_GetConnectedControllers(winISteamInput_SteamInput005 *_this, InputHandle_t * handlesOut) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetConnectedControllers(_this->linux_side, handlesOut); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableDeviceCallbacks, 4) +void __thiscall winISteamInput_SteamInput005_EnableDeviceCallbacks(winISteamInput_SteamInput005 *_this) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_EnableDeviceCallbacks(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableActionEventCallbacks, 8) +void __thiscall winISteamInput_SteamInput005_EnableActionEventCallbacks(winISteamInput_SteamInput005 *_this, SteamInputActionEventCallbackPointer pCallback) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_EnableActionEventCallbacks(_this->linux_side, pCallback); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionSetHandle, 8) +InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetActionSetHandle(winISteamInput_SteamInput005 *_this, const char * pszActionSetName) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetActionSetHandle(_this->linux_side, pszActionSetName); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSet, 20) +void __thiscall winISteamInput_SteamInput005_ActivateActionSet(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_ActivateActionSet(_this->linux_side, inputHandle, actionSetHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetCurrentActionSet, 12) +InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetCurrentActionSet(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetCurrentActionSet(_this->linux_side, inputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSetLayer, 20) +void __thiscall winISteamInput_SteamInput005_ActivateActionSetLayer(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_ActivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateActionSetLayer, 20) +void __thiscall winISteamInput_SteamInput005_DeactivateActionSetLayer(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_DeactivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateAllActionSetLayers, 12) +void __thiscall winISteamInput_SteamInput005_DeactivateAllActionSetLayers(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(_this->linux_side, inputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActiveActionSetLayers, 16) +int __thiscall winISteamInput_SteamInput005_GetActiveActionSetLayers(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetActiveActionSetLayers(_this->linux_side, inputHandle, handlesOut); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionHandle, 8) +InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput005_GetDigitalActionHandle(winISteamInput_SteamInput005 *_this, const char * pszActionName) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetDigitalActionHandle(_this->linux_side, pszActionName); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionData, 24) +InputDigitalActionData_t *__thiscall winISteamInput_SteamInput005_GetDigitalActionData(winISteamInput_SteamInput005 *_this, InputDigitalActionData_t *_r, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +{ + TRACE("%p\n", _this); + *_r = cppISteamInput_SteamInput005_GetDigitalActionData(_this->linux_side, inputHandle, digitalActionHandle); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionOrigins, 32) +int __thiscall winISteamInput_SteamInput005_GetDigitalActionOrigins(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetDigitalActionOrigins(_this->linux_side, inputHandle, actionSetHandle, digitalActionHandle, originsOut); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForDigitalActionName, 12) +const char * __thiscall winISteamInput_SteamInput005_GetStringForDigitalActionName(winISteamInput_SteamInput005 *_this, InputDigitalActionHandle_t eActionHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetStringForDigitalActionName(_this->linux_side, eActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionHandle, 8) +InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput005_GetAnalogActionHandle(winISteamInput_SteamInput005 *_this, const char * pszActionName) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetAnalogActionHandle(_this->linux_side, pszActionName); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionData, 24) +InputAnalogActionData_t *__thiscall winISteamInput_SteamInput005_GetAnalogActionData(winISteamInput_SteamInput005 *_this, InputAnalogActionData_t *_r, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +{ + TRACE("%p\n", _this); + *_r = cppISteamInput_SteamInput005_GetAnalogActionData(_this->linux_side, inputHandle, analogActionHandle); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionOrigins, 32) +int __thiscall winISteamInput_SteamInput005_GetAnalogActionOrigins(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetAnalogActionOrigins(_this->linux_side, inputHandle, actionSetHandle, analogActionHandle, originsOut); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, 16) +const char * __thiscall winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(_this->linux_side, eOrigin, eSize, unFlags); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, 12) +const char * __thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin, uint32 unFlags) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(_this->linux_side, eOrigin, unFlags); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, 8) +const char * __thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin) +{ + const char *path_result; + TRACE("%p\n", _this); + path_result = cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(_this->linux_side, eOrigin); + path_result = steamclient_isteamcontroller_getglyph(eOrigin, path_result); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForActionOrigin, 8) +const char * __thiscall winISteamInput_SteamInput005_GetStringForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetStringForActionOrigin(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForAnalogActionName, 12) +const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionName(winISteamInput_SteamInput005 *_this, InputAnalogActionHandle_t eActionHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetStringForAnalogActionName(_this->linux_side, eActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_StopAnalogActionMomentum, 20) +void __thiscall winISteamInput_SteamInput005_StopAnalogActionMomentum(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_StopAnalogActionMomentum(_this->linux_side, inputHandle, eAction); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetMotionData, 16) +InputMotionData_t *__thiscall winISteamInput_SteamInput005_GetMotionData(winISteamInput_SteamInput005 *_this, InputMotionData_t *_r, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + *_r = cppISteamInput_SteamInput005_GetMotionData(_this->linux_side, inputHandle); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerVibration, 20) +void __thiscall winISteamInput_SteamInput005_TriggerVibration(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_TriggerVibration(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerVibrationExtended, 28) +void __thiscall winISteamInput_SteamInput005_TriggerVibrationExtended(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_TriggerVibrationExtended(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed, usLeftTriggerSpeed, usRightTriggerSpeed); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerSimpleHapticEvent, 32) +void __thiscall winISteamInput_SteamInput005_TriggerSimpleHapticEvent(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(_this->linux_side, inputHandle, eHapticLocation, nIntensity, nGainDB, nOtherIntensity, nOtherGainDB); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetLEDColor, 28) +void __thiscall winISteamInput_SteamInput005_SetLEDColor(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_SetLEDColor(_this->linux_side, inputHandle, nColorR, nColorG, nColorB, nFlags); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse, 20) +void __thiscall winISteamInput_SteamInput005_Legacy_TriggerHapticPulse(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, 32) +void __thiscall winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +{ + TRACE("%p\n", _this); + cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ShowBindingPanel, 12) +bool __thiscall winISteamInput_SteamInput005_ShowBindingPanel(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_ShowBindingPanel(_this->linux_side, inputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetInputTypeForHandle, 12) +ESteamInputType __thiscall winISteamInput_SteamInput005_GetInputTypeForHandle(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetInputTypeForHandle(_this->linux_side, inputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetControllerForGamepadIndex, 8) +InputHandle_t __thiscall winISteamInput_SteamInput005_GetControllerForGamepadIndex(winISteamInput_SteamInput005 *_this, int nIndex) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetControllerForGamepadIndex(_this->linux_side, nIndex); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGamepadIndexForController, 12) +int __thiscall winISteamInput_SteamInput005_GetGamepadIndexForController(winISteamInput_SteamInput005 *_this, InputHandle_t ulinputHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetGamepadIndexForController(_this->linux_side, ulinputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForXboxOrigin, 8) +const char * __thiscall winISteamInput_SteamInput005_GetStringForXboxOrigin(winISteamInput_SteamInput005 *_this, EXboxOrigin eOrigin) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetStringForXboxOrigin(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphForXboxOrigin, 8) +const char * __thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin(winISteamInput_SteamInput005 *_this, EXboxOrigin eOrigin) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, 16) +EInputActionOrigin __thiscall winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(_this->linux_side, inputHandle, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TranslateActionOrigin, 12) +EInputActionOrigin __thiscall winISteamInput_SteamInput005_TranslateActionOrigin(winISteamInput_SteamInput005 *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDeviceBindingRevision, 20) +bool __thiscall winISteamInput_SteamInput005_GetDeviceBindingRevision(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetRemotePlaySessionID, 12) +uint32 __thiscall winISteamInput_SteamInput005_GetRemotePlaySessionID(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetRemotePlaySessionID(_this->linux_side, inputHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings, 4) +uint16 __thiscall winISteamInput_SteamInput005_GetSessionInputConfigurationSettings(winISteamInput_SteamInput005 *_this) +{ + TRACE("%p\n", _this); + return cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(_this->linux_side); +} + +extern vtable_ptr winISteamInput_SteamInput005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamInput_SteamInput005, + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Init) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Shutdown) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetInputActionManifestFilePath) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_RunFrame) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BWaitForData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BNewDataAvailable) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableDeviceCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableActionEventCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForDigitalActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForAnalogActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetMotionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibration) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibrationExtended) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerSimpleHapticEvent) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetLEDColor) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDeviceBindingRevision) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetRemotePlaySessionID) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings) + ); +#ifndef __GNUC__ +} +#endif + +winISteamInput_SteamInput005 *create_winISteamInput_SteamInput005(void *linux_side) +{ + winISteamInput_SteamInput005 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamInput_SteamInput005)); + TRACE("-> %p\n", r); + r->vtable = &winISteamInput_SteamInput005_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamInput_SteamInput002.h" typedef struct __winISteamInput_SteamInput002 { diff --git a/lsteamclient/winISteamNetworkingMessages.c b/lsteamclient/winISteamNetworkingMessages.c index 2da055a6..7bb7e7c3 100644 --- a/lsteamclient/winISteamNetworkingMessages.c +++ b/lsteamclient/winISteamNetworkingMessages.c @@ -30,7 +30,7 @@ EResult __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_SendMe } DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, 16) -int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, int nLocalChannel, winSteamNetworkingMessage_t_151 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, int nLocalChannel, winSteamNetworkingMessage_t_152 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(_this->linux_side, nLocalChannel, ppOutMessages, nMaxMessages); diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index 3c441484..10cca1ad 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -107,7 +107,7 @@ EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMess } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int nMessages, winSteamNetworkingMessage_t_151 *const * pMessages, int64 * pOutMessageNumberOrResult) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int nMessages, winSteamNetworkingMessage_t_152 *const * pMessages, int64 * pOutMessageNumberOrResult) { TRACE("%p\n", _this); cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); @@ -121,7 +121,7 @@ EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMes } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_151 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_152 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); @@ -205,7 +205,7 @@ bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnecti } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_151 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_152 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(_this->linux_side, hPollGroup, ppOutMessages, nMaxMessages); diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index 1eb0fbeb..88d2448f 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_151 * pLocation, char * pchMetadata, int cchMetadata) +bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_152 * 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_151 * pLocationList, uint32 uMaxNumLocations) +bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_152 * 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_151 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_152 * 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_151 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_152 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/winISteamRemoteStorage.c b/lsteamclient/winISteamRemoteStorage.c index 8c92d9b8..5da23035 100644 --- a/lsteamclient/winISteamRemoteStorage.c +++ b/lsteamclient/winISteamRemoteStorage.c @@ -15,6 +15,517 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" + +typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 { + vtable_ptr *vtable; + void *linux_side; +} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016; + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const void * pvData, int32 cubData) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(_this->linux_side, pchFile, pvData, cubData); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, 16) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const void * pvData, uint32 cubData) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(_this->linux_side, pchFile, pvData, cubData); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, uint32 nOffset, uint32 cubToRead) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(_this->linux_side, pchFile, nOffset, cubToRead); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, 20) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(_this->linux_side, hReadCall, pvBuffer, cubToRead); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, 8) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, 8) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, 8) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, 12) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, 8) +UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, 20) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, 12) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(_this->linux_side, writeHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, 12) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(_this->linux_side, writeHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, 8) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, 8) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, 8) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, 8) +int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, 8) +ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(_this->linux_side, pchFile); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, 4) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, 12) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int iFile, int32 * pnFileSizeInBytes) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, 12) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, 4) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, 4) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, 8) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, bool bEnabled) +{ + TRACE("%p\n", _this); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(_this->linux_side, bEnabled); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, uint32 unPriority) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(_this->linux_side, hContent, unPriority); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, 20) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, 28) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, 28) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset, eAction); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, 4) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, 8) +UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int32 iCachedContent) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(_this->linux_side, iCachedContent); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, 36) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +{ + char lin_pchFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + char lin_pchPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, 12) +PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +{ + char lin_pchFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +{ + char lin_pchPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(_this->linux_side, updateHandle); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, 8) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint32 unStartIndex) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, 8) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint32 unStartIndex) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, 16) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, 24) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, 40) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +{ + char lin_pchPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, 16) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, 12) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, 28) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, 20) +SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +{ + char lin_pchLocation[PATH_MAX]; + steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, 4) +int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, 16) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int iFile, ERemoteStorageLocalFileChange * pEChangeType, ERemoteStorageFilePathType * pEFilePathType) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(_this->linux_side, iFile, pEChangeType, pEFilePathType); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, 4) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, 4) +bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +{ + TRACE("%p\n", _this); + return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(_this->linux_side); +} + +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch) + ); +#ifndef __GNUC__ +} +#endif + +winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *linux_side) +{ + winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016)); + TRACE("-> %p\n", r); + r->vtable = &winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; + r->linux_side = linux_side; + return r; +} + #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h" typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 { diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index bb1c5f24..54c036ee 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -58,7 +58,7 @@ SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUG } DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_151 * pDetails) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 * pDetails) { TRACE("%p\n", _this); return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); @@ -612,6 +612,20 @@ SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(_this->linux_side, nPublishedFileID); } +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, 4) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, 4) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(_this->linux_side); +} + extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable; #ifndef __GNUC__ @@ -700,6 +714,8 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus) ); #ifndef __GNUC__ } diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index f78f08ec..9e40aae4 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -44,18 +44,18 @@ CSteamID *__thiscall winISteamUser_SteamUser021_GetSteamID(winISteamUser_SteamUs return _r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser021_InitiateGameConnection(winISteamUser_SteamUser021 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, 32) +int __thiscall winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(winISteamUser_SteamUser021 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser021_TerminateGameConnection(winISteamUser_SteamUser021 *_this, uint32 unIPServer, uint16 usPortServer) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, 12) +void __thiscall winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(winISteamUser_SteamUser021 *_this, uint32 unIPServer, uint16 usPortServer) { TRACE("%p\n", _this); - cppISteamUser_SteamUser021_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(_this->linux_side, unIPServer, usPortServer); } DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TrackAppUsageEvent, 20) @@ -259,8 +259,8 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BLoggedOn) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TrackAppUsageEvent) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetUserDataFolder) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_StartVoiceRecording) diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index 404ad553..b4cae321 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -233,7 +233,7 @@ SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 } DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_151 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_152 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { TRACE("%p\n", _this); return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index fe865806..2eb79ac5 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -262,6 +262,27 @@ ESteamIPv6ConnectivityState __thiscall winISteamUtils_SteamUtils010_GetIPv6Conne return cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(_this->linux_side, eProtocol); } +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, 4) +bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(winISteamUtils_SteamUtils010 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, 24) +bool __thiscall winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(winISteamUtils_SteamUtils010 *_this, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) +{ + TRACE("%p\n", _this); + return cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(_this->linux_side, eKeyboardMode, nTextFieldXPosition, nTextFieldYPosition, nTextFieldWidth, nTextFieldHeight); +} + +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetGameLauncherMode, 8) +void __thiscall winISteamUtils_SteamUtils010_SetGameLauncherMode(winISteamUtils_SteamUtils010 *_this, bool bLauncherMode) +{ + TRACE("%p\n", _this); + cppISteamUtils_SteamUtils010_SetGameLauncherMode(_this->linux_side, bLauncherMode); +} + extern vtable_ptr winISteamUtils_SteamUtils010_vtable; #ifndef __GNUC__ @@ -302,6 +323,9 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_InitFilterText) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_FilterText) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetGameLauncherMode) ); #ifndef __GNUC__ } diff --git a/lsteamclient/win_constructors.h b/lsteamclient/win_constructors.h index 3c3cfc8f..056604cb 100644 --- a/lsteamclient/win_constructors.h +++ b/lsteamclient/win_constructors.h @@ -6,7 +6,7 @@ extern void *create_winISteamMatchmaking_SteamMatchMaking009(void *); extern void *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *); extern void *create_winISteamGameSearch_SteamMatchGameSearch001(void *); extern void *create_winISteamParties_SteamParties002(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *); +extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *); extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *); extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *); extern void *create_winISteamNetworking_SteamNetworking006(void *); @@ -14,7 +14,7 @@ extern void *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(v extern void *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *); extern void *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *); extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *); -extern void *create_winISteamInput_SteamInput002(void *); +extern void *create_winISteamInput_SteamInput005(void *); extern void *create_winISteamController_SteamController008(void *); extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *); extern void *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *); @@ -23,13 +23,16 @@ extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *); extern void *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *); extern void *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *); extern void *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer013(void *); +extern void *create_winISteamGameServer_SteamGameServer014(void *); extern void *create_winISteamGameServerStats_SteamGameServerStats001(void *); extern void *create_winISteamGameCoordinator_SteamGameCoordinator001(void *); extern void *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *); extern void *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *); extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *); extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *); +extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *); +extern void *create_winISteamInput_SteamInput002(void *); +extern void *create_winISteamGameServer_SteamGameServer013(void *); extern void *create_winISteamInput_SteamInput001(void *); extern void *create_winISteamController_SteamController007(void *); extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *); diff --git a/lsteamclient/win_constructors_table.dat b/lsteamclient/win_constructors_table.dat index 4ba60828..b363bbc4 100644 --- a/lsteamclient/win_constructors_table.dat +++ b/lsteamclient/win_constructors_table.dat @@ -6,7 +6,7 @@ {"SteamMatchMakingServers002", &create_winISteamMatchmakingServers_SteamMatchMakingServers002}, {"SteamMatchGameSearch001", &create_winISteamGameSearch_SteamMatchGameSearch001}, {"SteamParties002", &create_winISteamParties_SteamParties002}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION014", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION016", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016}, {"STEAMUSERSTATS_INTERFACE_VERSION012", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012}, {"STEAMAPPS_INTERFACE_VERSION008", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008}, {"SteamNetworking006", &create_winISteamNetworking_SteamNetworking006}, @@ -14,7 +14,7 @@ {"STEAMMUSIC_INTERFACE_VERSION001", &create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001}, {"STEAMMUSICREMOTE_INTERFACE_VERSION001", &create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001}, {"STEAMHTTP_INTERFACE_VERSION003", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003}, - {"SteamInput002", &create_winISteamInput_SteamInput002}, + {"SteamInput005", &create_winISteamInput_SteamInput005}, {"SteamController008", &create_winISteamController_SteamController008}, {"STEAMUGC_INTERFACE_VERSION015", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015}, {"STEAMAPPLIST_INTERFACE_VERSION001", &create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001}, @@ -23,13 +23,16 @@ {"STEAMVIDEO_INTERFACE_V002", &create_winISteamVideo_STEAMVIDEO_INTERFACE_V002}, {"STEAMREMOTEPLAY_INTERFACE_VERSION001", &create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001}, {"STEAMAPPTICKET_INTERFACE_VERSION001", &create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001}, - {"SteamGameServer013", &create_winISteamGameServer_SteamGameServer013}, + {"SteamGameServer014", &create_winISteamGameServer_SteamGameServer014}, {"SteamGameServerStats001", &create_winISteamGameServerStats_SteamGameServerStats001}, {"SteamGameCoordinator001", &create_winISteamGameCoordinator_SteamGameCoordinator001}, {"STEAMPARENTALSETTINGS_INTERFACE_VERSION001", &create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001}, {"SteamNetworkingMessages002", &create_winISteamNetworkingMessages_SteamNetworkingMessages002}, {"SteamNetworkingSockets009", &create_winISteamNetworkingSockets_SteamNetworkingSockets009}, {"SteamNetworkingUtils003", &create_winISteamNetworkingUtils_SteamNetworkingUtils003}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION014", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014}, + {"SteamInput002", &create_winISteamInput_SteamInput002}, + {"SteamGameServer013", &create_winISteamGameServer_SteamGameServer013}, {"SteamInput001", &create_winISteamInput_SteamInput001}, {"SteamController007", &create_winISteamController_SteamController007}, {"STEAMUGC_INTERFACE_VERSION014", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014},