From dca026aff16a03633dafd5de84585b608c22f19d Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Mon, 29 Oct 2018 13:26:08 -0500 Subject: [PATCH] lsteamclient: build fixes --- build/makefile_base.mak | 2 + ...List_STEAMAPPLIST_INTERFACE_VERSION001.cpp | 2 +- ...et_STEAMAPPTICKET_INTERFACE_VERSION001.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION001.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION002.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION003.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION004.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION005.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION006.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION007.cpp | 2 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION008.cpp | 2 +- .../cppISteamClient_SteamClient007.cpp | 2 +- .../cppISteamClient_SteamClient008.cpp | 2 +- .../cppISteamClient_SteamClient009.cpp | 2 +- .../cppISteamClient_SteamClient010.cpp | 2 +- .../cppISteamClient_SteamClient011.cpp | 2 +- .../cppISteamClient_SteamClient012.cpp | 2 +- .../cppISteamClient_SteamClient014.cpp | 2 +- .../cppISteamClient_SteamClient015.cpp | 2 +- .../cppISteamClient_SteamClient016.cpp | 2 +- .../cppISteamClient_SteamClient017.cpp | 2 +- ...ller_STEAMCONTROLLER_INTERFACE_VERSION.cpp | 2 +- ...cppISteamController_SteamController003.cpp | 2 +- ...cppISteamController_SteamController004.cpp | 2 +- ...cppISteamController_SteamController005.cpp | 2 +- ...cppISteamController_SteamController006.cpp | 2 +- .../cppISteamFriends_SteamFriends003.cpp | 2 +- .../cppISteamFriends_SteamFriends004.cpp | 2 +- .../cppISteamFriends_SteamFriends005.cpp | 2 +- .../cppISteamFriends_SteamFriends006.cpp | 2 +- .../cppISteamFriends_SteamFriends007.cpp | 2 +- .../cppISteamFriends_SteamFriends008.cpp | 2 +- .../cppISteamFriends_SteamFriends009.cpp | 2 +- .../cppISteamFriends_SteamFriends011.cpp | 2 +- .../cppISteamFriends_SteamFriends013.cpp | 2 +- .../cppISteamFriends_SteamFriends014.cpp | 2 +- .../cppISteamFriends_SteamFriends015.cpp | 2 +- ...ameCoordinator_SteamGameCoordinator001.cpp | 2 +- ...ameServerStats_SteamGameServerStats001.cpp | 2 +- ...cppISteamGameServer_SteamGameServer004.cpp | 2 +- ...cppISteamGameServer_SteamGameServer005.cpp | 2 +- ...cppISteamGameServer_SteamGameServer008.cpp | 2 +- ...cppISteamGameServer_SteamGameServer009.cpp | 2 +- ...cppISteamGameServer_SteamGameServer010.cpp | 2 +- ...cppISteamGameServer_SteamGameServer011.cpp | 2 +- ...cppISteamGameServer_SteamGameServer012.cpp | 2 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp | 2 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp | 2 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp | 2 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp | 2 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp | 2 +- ...nventory_STEAMINVENTORY_INTERFACE_V001.cpp | 2 +- ...nventory_STEAMINVENTORY_INTERFACE_V002.cpp | 2 +- ...verUpdater_SteamMasterServerUpdater001.cpp | 2 +- ...kingServers_SteamMatchMakingServers001.cpp | 2 +- ...kingServers_SteamMatchMakingServers002.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking002.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking004.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking006.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking007.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking008.cpp | 2 +- ...pISteamMatchmaking_SteamMatchMaking009.cpp | 2 +- ..._STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp | 2 +- ...mMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp | 2 +- ...cppISteamNetworking_SteamNetworking001.cpp | 2 +- ...cppISteamNetworking_SteamNetworking002.cpp | 2 +- ...cppISteamNetworking_SteamNetworking003.cpp | 2 +- ...cppISteamNetworking_SteamNetworking004.cpp | 2 +- ...cppISteamNetworking_SteamNetworking005.cpp | 2 +- ...MPARENTALSETTINGS_INTERFACE_VERSION001.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp | 2 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp | 2 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp | 2 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp | 2 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp | 2 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp | 2 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp | 3 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp | 3 +- ...AMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION003.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION004.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION005.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION006.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION007.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION009.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION010.cpp | 2 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION011.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser009.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser010.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser011.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser012.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser013.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser014.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser016.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser017.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser018.cpp | 2 +- lsteamclient/cppISteamUser_SteamUser019.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils002.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils004.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils005.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils006.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils007.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils008.cpp | 2 +- lsteamclient/cppISteamUtils_SteamUtils009.cpp | 2 +- ...pISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp | 2 +- ...pISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp | 2 +- lsteamclient/gen_wrapper.py | 20 +- lsteamclient/struct_converters_100.cpp | 36 +- lsteamclient/struct_converters_100.h | 15 +- lsteamclient/struct_converters_101.cpp | 34 +- lsteamclient/struct_converters_101.h | 15 +- lsteamclient/struct_converters_102.cpp | 38 +- lsteamclient/struct_converters_102.h | 15 +- lsteamclient/struct_converters_103.cpp | 38 +- lsteamclient/struct_converters_103.h | 19 +- lsteamclient/struct_converters_104.cpp | 46 +- lsteamclient/struct_converters_104.h | 23 +- lsteamclient/struct_converters_105.cpp | 46 +- lsteamclient/struct_converters_105.h | 27 +- lsteamclient/struct_converters_106.cpp | 46 +- lsteamclient/struct_converters_106.h | 27 +- lsteamclient/struct_converters_107.cpp | 46 +- lsteamclient/struct_converters_107.h | 27 +- lsteamclient/struct_converters_108.cpp | 46 +- lsteamclient/struct_converters_108.h | 27 +- lsteamclient/struct_converters_109.cpp | 46 +- lsteamclient/struct_converters_109.h | 27 +- lsteamclient/struct_converters_110.cpp | 46 +- lsteamclient/struct_converters_110.h | 27 +- lsteamclient/struct_converters_111.cpp | 70 +-- lsteamclient/struct_converters_111.h | 30 +- lsteamclient/struct_converters_112.cpp | 91 +-- lsteamclient/struct_converters_112.h | 30 +- lsteamclient/struct_converters_113.cpp | 46 +- lsteamclient/struct_converters_113.h | 27 +- lsteamclient/struct_converters_114.cpp | 46 +- lsteamclient/struct_converters_114.h | 27 +- lsteamclient/struct_converters_115.cpp | 46 +- lsteamclient/struct_converters_115.h | 27 +- lsteamclient/struct_converters_116.cpp | 50 +- lsteamclient/struct_converters_116.h | 27 +- lsteamclient/struct_converters_117.cpp | 56 +- lsteamclient/struct_converters_117.h | 35 +- lsteamclient/struct_converters_118.cpp | 58 +- lsteamclient/struct_converters_118.h | 35 +- lsteamclient/struct_converters_119.cpp | 54 +- lsteamclient/struct_converters_119.h | 35 +- lsteamclient/struct_converters_120.cpp | 54 +- lsteamclient/struct_converters_120.h | 35 +- lsteamclient/struct_converters_121.cpp | 54 +- lsteamclient/struct_converters_121.h | 35 +- lsteamclient/struct_converters_122.cpp | 58 +- lsteamclient/struct_converters_122.h | 35 +- lsteamclient/struct_converters_123.cpp | 166 +---- lsteamclient/struct_converters_123.h | 47 +- lsteamclient/struct_converters_123a.cpp | 166 +---- lsteamclient/struct_converters_123a.h | 47 +- lsteamclient/struct_converters_124.cpp | 172 +---- lsteamclient/struct_converters_124.h | 47 +- lsteamclient/struct_converters_125.cpp | 172 +---- lsteamclient/struct_converters_125.h | 47 +- lsteamclient/struct_converters_126.cpp | 170 +---- lsteamclient/struct_converters_126.h | 51 +- lsteamclient/struct_converters_126a.cpp | 170 +---- lsteamclient/struct_converters_126a.h | 51 +- lsteamclient/struct_converters_127.cpp | 204 +----- lsteamclient/struct_converters_127.h | 54 +- lsteamclient/struct_converters_128.cpp | 210 +------ lsteamclient/struct_converters_128.h | 54 +- lsteamclient/struct_converters_129.cpp | 204 +----- lsteamclient/struct_converters_129.h | 54 +- lsteamclient/struct_converters_129a.cpp | 204 +----- lsteamclient/struct_converters_129a.h | 54 +- lsteamclient/struct_converters_130.cpp | 204 +----- lsteamclient/struct_converters_130.h | 54 +- lsteamclient/struct_converters_131.cpp | 204 +----- lsteamclient/struct_converters_131.h | 54 +- lsteamclient/struct_converters_132.cpp | 190 +----- lsteamclient/struct_converters_132.h | 59 +- lsteamclient/struct_converters_133.cpp | 178 +----- lsteamclient/struct_converters_133.h | 59 +- lsteamclient/struct_converters_133a.cpp | 178 +----- lsteamclient/struct_converters_133a.h | 59 +- lsteamclient/struct_converters_133b.cpp | 178 +----- lsteamclient/struct_converters_133b.h | 59 +- lsteamclient/struct_converters_134.cpp | 180 +----- lsteamclient/struct_converters_134.h | 59 +- lsteamclient/struct_converters_135.cpp | 182 +----- lsteamclient/struct_converters_135.h | 63 +- lsteamclient/struct_converters_135a.cpp | 182 +----- lsteamclient/struct_converters_135a.h | 63 +- lsteamclient/struct_converters_136.cpp | 186 +----- lsteamclient/struct_converters_136.h | 63 +- lsteamclient/struct_converters_137.cpp | 188 +----- lsteamclient/struct_converters_137.h | 67 +- lsteamclient/struct_converters_138.cpp | 190 +----- lsteamclient/struct_converters_138.h | 71 +-- lsteamclient/struct_converters_138a.cpp | 190 +----- lsteamclient/struct_converters_138a.h | 71 +-- lsteamclient/struct_converters_139.cpp | 190 +----- lsteamclient/struct_converters_139.h | 71 +-- lsteamclient/struct_converters_140.cpp | 192 +----- lsteamclient/struct_converters_140.h | 71 +-- lsteamclient/struct_converters_141.cpp | 220 +------ lsteamclient/struct_converters_141.h | 74 +-- lsteamclient/struct_converters_142.cpp | 588 +++++++----------- lsteamclient/struct_converters_142.h | 74 +-- 220 files changed, 2072 insertions(+), 7026 deletions(-) diff --git a/build/makefile_base.mak b/build/makefile_base.mak index 14e75385..a790ba1a 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -549,6 +549,7 @@ $(LSTEAMCLIENT_CONFIGURE_FILES64): $(LSTEAMCLIENT64) $(MAKEFILE_DEP) | $(LSTEAMC cd $(dir $@) && \ $(WINEMAKER) --nosource-fix --nolower-include --nodlls --nomsvcrt \ -DSTEAM_API_EXPORTS \ + -Dprivate=public -Dprotected=public \ -I"../$(TOOLS_DIR64)"/include/ \ -I"../$(TOOLS_DIR64)"/include/wine/ \ -I"../$(TOOLS_DIR64)"/include/wine/windows/ \ @@ -566,6 +567,7 @@ $(LSTEAMCLIENT_CONFIGURE_FILES32): $(LSTEAMCLIENT32) $(MAKEFILE_DEP) | $(LSTEAMC cd $(dir $@) && \ $(WINEMAKER) --nosource-fix --nolower-include --nodlls --nomsvcrt --wine32 \ -DSTEAM_API_EXPORTS \ + -Dprivate=public -Dprotected=public \ -I"../$(TOOLS_DIR32)"/include/ \ -I"../$(TOOLS_DIR32)"/include/wine/ \ -I"../$(TOOLS_DIR32)"/include/wine/windows/ \ diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index 1fc281b8..a7e28907 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side) { return ((ISteamAppList*)linux_side)->GetNumInstalledApps(); diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp index 2ca0fde4..17ad04d9 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamappticket.h" #include "cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *linux_side, uint32 nAppID, void * pvBuffer, uint32 cbBufferLength, uint32 * piAppId, uint32 * piSteamId, uint32 * piSignature, uint32 * pcbSignature) { return ((ISteamAppTicket*)linux_side)->GetAppOwnershipTicketData((uint32)nAppID, (void *)pvBuffer, (uint32)cbBufferLength, (uint32 *)piAppId, (uint32 *)piSteamId, (uint32 *)piSignature, (uint32 *)pcbSignature); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp index 3f68c305..d8c22e7d 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_100/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h" -#include "struct_converters_100.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_100.h" int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *linux_side, AppId_t nAppID, const char * pchKey, char * pchValue, int cchValueMax) { return ((ISteamApps*)linux_side)->GetAppData((AppId_t)nAppID, (const char *)pchKey, (char *)pchValue, (int)cchValueMax); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp index d4ebb463..7cef625a 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_103/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h" -#include "struct_converters_103.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_103.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp index 084d9f8a..39e9f856 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_111/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h" -#include "struct_converters_111.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_111.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp index d38431f0..35af00b5 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_117/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h" -#include "struct_converters_117.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_117.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp index 33f1f5e2..5a37b3a5 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_125/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h" -#include "struct_converters_125.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_125.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp index 4add1160..0fcdbfed 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_131/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h" -#include "struct_converters_131.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_131.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp index 405ae132..363ad003 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_136/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h" -#include "struct_converters_136.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_136.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp index bb4b39a7..8cc4d22b 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) { return ((ISteamApps*)linux_side)->BIsSubscribed(); diff --git a/lsteamclient/cppISteamClient_SteamClient007.cpp b/lsteamclient/cppISteamClient_SteamClient007.cpp index 89bab6a2..029c0ebc 100644 --- a/lsteamclient/cppISteamClient_SteamClient007.cpp +++ b/lsteamclient/cppISteamClient_SteamClient007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_103/steam_api.h" #include "cppISteamClient_SteamClient007.h" -#include "struct_converters_103.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_103.h" HSteamPipe cppISteamClient_SteamClient007_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient008.cpp b/lsteamclient/cppISteamClient_SteamClient008.cpp index 199f780e..b9dc5837 100644 --- a/lsteamclient/cppISteamClient_SteamClient008.cpp +++ b/lsteamclient/cppISteamClient_SteamClient008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_107/steam_api.h" #include "cppISteamClient_SteamClient008.h" -#include "struct_converters_107.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_107.h" HSteamPipe cppISteamClient_SteamClient008_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient009.cpp b/lsteamclient/cppISteamClient_SteamClient009.cpp index 3a5dfa5d..f00a30ca 100644 --- a/lsteamclient/cppISteamClient_SteamClient009.cpp +++ b/lsteamclient/cppISteamClient_SteamClient009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_111/steam_api.h" #include "cppISteamClient_SteamClient009.h" -#include "struct_converters_111.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_111.h" HSteamPipe cppISteamClient_SteamClient009_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient010.cpp b/lsteamclient/cppISteamClient_SteamClient010.cpp index 015978c6..019f1c6f 100644 --- a/lsteamclient/cppISteamClient_SteamClient010.cpp +++ b/lsteamclient/cppISteamClient_SteamClient010.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_115/steam_api.h" #include "cppISteamClient_SteamClient010.h" -#include "struct_converters_115.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_115.h" HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient011.cpp b/lsteamclient/cppISteamClient_SteamClient011.cpp index eafbf6c1..2d16da3d 100644 --- a/lsteamclient/cppISteamClient_SteamClient011.cpp +++ b/lsteamclient/cppISteamClient_SteamClient011.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_116/steam_api.h" #include "cppISteamClient_SteamClient011.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" HSteamPipe cppISteamClient_SteamClient011_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient012.cpp b/lsteamclient/cppISteamClient_SteamClient012.cpp index 701cd1ed..1aa7f969 100644 --- a/lsteamclient/cppISteamClient_SteamClient012.cpp +++ b/lsteamclient/cppISteamClient_SteamClient012.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_128/steam_api.h" #include "cppISteamClient_SteamClient012.h" -#include "struct_converters_128.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_128.h" HSteamPipe cppISteamClient_SteamClient012_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient014.cpp b/lsteamclient/cppISteamClient_SteamClient014.cpp index c9b93712..0928c307 100644 --- a/lsteamclient/cppISteamClient_SteamClient014.cpp +++ b/lsteamclient/cppISteamClient_SteamClient014.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_129a/steam_api.h" #include "cppISteamClient_SteamClient014.h" -#include "struct_converters_129a.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_129a.h" HSteamPipe cppISteamClient_SteamClient014_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient015.cpp b/lsteamclient/cppISteamClient_SteamClient015.cpp index 5055648c..71a451b9 100644 --- a/lsteamclient/cppISteamClient_SteamClient015.cpp +++ b/lsteamclient/cppISteamClient_SteamClient015.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_130/steam_api.h" #include "cppISteamClient_SteamClient015.h" -#include "struct_converters_130.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_130.h" HSteamPipe cppISteamClient_SteamClient015_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient016.cpp b/lsteamclient/cppISteamClient_SteamClient016.cpp index f0bec7e5..24b69d17 100644 --- a/lsteamclient/cppISteamClient_SteamClient016.cpp +++ b/lsteamclient/cppISteamClient_SteamClient016.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_131/steam_api.h" #include "cppISteamClient_SteamClient016.h" -#include "struct_converters_131.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_131.h" HSteamPipe cppISteamClient_SteamClient016_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamClient_SteamClient017.cpp b/lsteamclient/cppISteamClient_SteamClient017.cpp index 7acd22fb..19e2e2df 100644 --- a/lsteamclient/cppISteamClient_SteamClient017.cpp +++ b/lsteamclient/cppISteamClient_SteamClient017.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamClient_SteamClient017.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" HSteamPipe cppISteamClient_SteamClient017_CreateSteamPipe(void *linux_side) { return ((ISteamClient*)linux_side)->CreateSteamPipe(); diff --git a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp index 59425575..c71c0eab 100644 --- a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp +++ b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_134/steam_api.h" #include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h" -#include "struct_converters_134.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_134.h" bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(void *linux_side, const char * pchAbsolutePathToControllerConfigVDF) { return ((ISteamController*)linux_side)->Init((const char *)pchAbsolutePathToControllerConfigVDF); diff --git a/lsteamclient/cppISteamController_SteamController003.cpp b/lsteamclient/cppISteamController_SteamController003.cpp index e64c580b..174d75b2 100644 --- a/lsteamclient/cppISteamController_SteamController003.cpp +++ b/lsteamclient/cppISteamController_SteamController003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_137/steam_api.h" #include "cppISteamController_SteamController003.h" -#include "struct_converters_137.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_137.h" bool cppISteamController_SteamController003_Init(void *linux_side) { return ((ISteamController*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamController_SteamController004.cpp b/lsteamclient/cppISteamController_SteamController004.cpp index 93b44dd1..70178fb1 100644 --- a/lsteamclient/cppISteamController_SteamController004.cpp +++ b/lsteamclient/cppISteamController_SteamController004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_138a/steam_api.h" #include "cppISteamController_SteamController004.h" -#include "struct_converters_138a.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_138a.h" bool cppISteamController_SteamController004_Init(void *linux_side) { return ((ISteamController*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamController_SteamController005.cpp b/lsteamclient/cppISteamController_SteamController005.cpp index c704fba7..2d2f72f5 100644 --- a/lsteamclient/cppISteamController_SteamController005.cpp +++ b/lsteamclient/cppISteamController_SteamController005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_141/steam_api.h" #include "cppISteamController_SteamController005.h" -#include "struct_converters_141.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_141.h" bool cppISteamController_SteamController005_Init(void *linux_side) { return ((ISteamController*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamController_SteamController006.cpp b/lsteamclient/cppISteamController_SteamController006.cpp index 06b0901c..b0ea49e7 100644 --- a/lsteamclient/cppISteamController_SteamController006.cpp +++ b/lsteamclient/cppISteamController_SteamController006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamController_SteamController006.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamController_SteamController006_Init(void *linux_side) { return ((ISteamController*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends003.cpp b/lsteamclient/cppISteamFriends_SteamFriends003.cpp index 554af57f..92e7be2e 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends003.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_101/steam_api.h" #include "cppISteamFriends_SteamFriends003.h" -#include "struct_converters_101.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_101.h" const char * cppISteamFriends_SteamFriends003_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends004.cpp b/lsteamclient/cppISteamFriends_SteamFriends004.cpp index 732660f0..61707336 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends004.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_102/steam_api.h" #include "cppISteamFriends_SteamFriends004.h" -#include "struct_converters_102.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_102.h" const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends005.cpp b/lsteamclient/cppISteamFriends_SteamFriends005.cpp index c80a7763..69241189 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends005.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_109/steam_api.h" #include "cppISteamFriends_SteamFriends005.h" -#include "struct_converters_109.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_109.h" const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends006.cpp b/lsteamclient/cppISteamFriends_SteamFriends006.cpp index caaac2c4..4e90c6d3 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends006.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_110/steam_api.h" #include "cppISteamFriends_SteamFriends006.h" -#include "struct_converters_110.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_110.h" const char * cppISteamFriends_SteamFriends006_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends007.cpp b/lsteamclient/cppISteamFriends_SteamFriends007.cpp index c2abd35d..73d7dc75 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends007.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_111/steam_api.h" #include "cppISteamFriends_SteamFriends007.h" -#include "struct_converters_111.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_111.h" const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends008.cpp b/lsteamclient/cppISteamFriends_SteamFriends008.cpp index b80ccb0a..1a4fc481 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends008.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_112/steam_api.h" #include "cppISteamFriends_SteamFriends008.h" -#include "struct_converters_112.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_112.h" const char * cppISteamFriends_SteamFriends008_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends009.cpp b/lsteamclient/cppISteamFriends_SteamFriends009.cpp index 2501b6ef..2deb97c3 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends009.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_116/steam_api.h" #include "cppISteamFriends_SteamFriends009.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends011.cpp b/lsteamclient/cppISteamFriends_SteamFriends011.cpp index 2493b3a6..df926171 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends011.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends011.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_119/steam_api.h" #include "cppISteamFriends_SteamFriends011.h" -#include "struct_converters_119.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_119.h" const char * cppISteamFriends_SteamFriends011_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends013.cpp b/lsteamclient/cppISteamFriends_SteamFriends013.cpp index 6c1b50cf..2aa751b0 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends013.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends013.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_125/steam_api.h" #include "cppISteamFriends_SteamFriends013.h" -#include "struct_converters_125.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_125.h" const char * cppISteamFriends_SteamFriends013_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends014.cpp b/lsteamclient/cppISteamFriends_SteamFriends014.cpp index 0aa83a7a..5916bdd6 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends014.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends014.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_131/steam_api.h" #include "cppISteamFriends_SteamFriends014.h" -#include "struct_converters_131.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_131.h" const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamFriends_SteamFriends015.cpp b/lsteamclient/cppISteamFriends_SteamFriends015.cpp index 7c447e0c..f71602c4 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends015.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends015.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamFriends_SteamFriends015.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" const char * cppISteamFriends_SteamFriends015_GetPersonaName(void *linux_side) { return ((ISteamFriends*)linux_side)->GetPersonaName(); diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp index 5854d31e..97b65592 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamgamecoordinator.h" #include "cppISteamGameCoordinator_SteamGameCoordinator001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData) { return ((ISteamGameCoordinator*)linux_side)->SendMessage((uint32)unMsgType, (const void *)pubData, (uint32)cubData); diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp index 0250400f..35277191 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamgameserverstats.h" #include "cppISteamGameServerStats_SteamGameServerStats001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) { return ((ISteamGameServerStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp index 85085a58..0864ec9d 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_100/steam_api.h" #include "steamworks_sdk_100/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer004.h" -#include "struct_converters_100.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_100.h" void cppISteamGameServer_SteamGameServer004_LogOn(void *linux_side) { ((ISteamGameServer*)linux_side)->LogOn(); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp index 461fd16a..b7406218 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_102/steam_api.h" #include "steamworks_sdk_102/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer005.h" -#include "struct_converters_102.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_102.h" void cppISteamGameServer_SteamGameServer005_LogOn(void *linux_side) { ((ISteamGameServer*)linux_side)->LogOn(); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp index 1624854d..ae7d92de 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_104/steam_api.h" #include "steamworks_sdk_104/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer008.h" -#include "struct_converters_104.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_104.h" void cppISteamGameServer_SteamGameServer008_LogOn(void *linux_side) { ((ISteamGameServer*)linux_side)->LogOn(); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp index 7966cdce..2aa0a773 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_107/steam_api.h" #include "steamworks_sdk_107/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer009.h" -#include "struct_converters_107.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_107.h" void cppISteamGameServer_SteamGameServer009_LogOn(void *linux_side) { ((ISteamGameServer*)linux_side)->LogOn(); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp index d3552418..96c4253a 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_116/steam_api.h" #include "steamworks_sdk_116/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer010.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" void cppISteamGameServer_SteamGameServer010_LogOn(void *linux_side) { ((ISteamGameServer*)linux_side)->LogOn(); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp index e82990e6..292bf23e 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_128/steam_api.h" #include "steamworks_sdk_128/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer011.h" -#include "struct_converters_128.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_128.h" bool cppISteamGameServer_SteamGameServer011_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); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp index 4faf7b73..7b3949fa 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamgameserver.h" #include "cppISteamGameServer_SteamGameServer012.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamGameServer_SteamGameServer012_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); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp index dea29e50..09b779e0 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_133a/steam_api.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h" -#include "struct_converters_133a.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_133a.h" bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(void *linux_side) { return ((ISteamHTMLSurface*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp index 52df9fe5..6de87aec 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_140/steam_api.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h" -#include "struct_converters_140.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_140.h" bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(void *linux_side) { return ((ISteamHTMLSurface*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp index e50b8ab5..71e55837 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(void *linux_side) { return ((ISteamHTMLSurface*)linux_side)->Init(); diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp index 7f40da7d..db04a698 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_121/steam_api.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h" -#include "struct_converters_121.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_121.h" HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) { return ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp index 0ea174d8..e3f94ded 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) { return ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp index 2a048c6d..2e4adc40 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_139/steam_api.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h" -#include "struct_converters_139.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_139.h" EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) { return ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp index 1d028816..4d6761d1 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) { return ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); diff --git a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp index 9804e9d5..b0768686 100644 --- a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp +++ b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_116/steam_api.h" #include "steamworks_sdk_116/isteammasterserverupdater.h" #include "cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(void *linux_side, bool bActive) { ((ISteamMasterServerUpdater*)linux_side)->SetActive((bool)bActive); diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp index 9eb9278b..c8f04430 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_105/steam_api.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers001.h" -#include "struct_converters_105.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_105.h" void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) { ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index 909b2f18..c6d6f0ca 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) { return ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp index eb35fa9e..eb8ecb70 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_101/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking002.h" -#include "struct_converters_101.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_101.h" int cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp index ed98bde3..03cc2d9b 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_102/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking004.h" -#include "struct_converters_102.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_102.h" int cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp index 498f92f3..e3fd1e65 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_104/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking006.h" -#include "struct_converters_104.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_104.h" int cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp index 18870bc7..dc51b211 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_107/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking007.h" -#include "struct_converters_107.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_107.h" int cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp index b0c185ff..4ecbff40 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_116/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking008.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" int cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp index c03d172e..103348c3 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamMatchmaking_SteamMatchMaking009.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side) { return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp index 98e84663..8c9b699d 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char * pchName) { return ((ISteamMusicRemote*)linux_side)->RegisterSteamMusicRemote((const char *)pchName); diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp index 381c4609..5887e515 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) { return ((ISteamMusic*)linux_side)->BIsEnabled(); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp index 7e4fe69d..9a0eb272 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_102/steam_api.h" #include "cppISteamNetworking_SteamNetworking001.h" -#include "struct_converters_102.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_102.h" SNetListenSocket_t cppISteamNetworking_SteamNetworking001_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort) { return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp index 215e80f1..483627fa 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_104/steam_api.h" #include "cppISteamNetworking_SteamNetworking002.h" -#include "struct_converters_104.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_104.h" SNetListenSocket_t cppISteamNetworking_SteamNetworking002_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp index 5290dbd4..0c104275 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_110/steam_api.h" #include "cppISteamNetworking_SteamNetworking003.h" -#include "struct_converters_110.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_110.h" bool cppISteamNetworking_SteamNetworking003_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType) { return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp index 43cea67d..f28d696f 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_112/steam_api.h" #include "cppISteamNetworking_SteamNetworking004.h" -#include "struct_converters_112.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_112.h" bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort) { return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nVirtualPort); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp index ef21d92d..1c96e1c6 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamNetworking_SteamNetworking005.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) { return ((ISteamNetworking*)linux_side)->SendP2PPacket((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 d8d1039b..dd88b9b8 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -3,10 +3,10 @@ #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamparentalsettings.h" #include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side) { return ((ISteamParentalSettings*)linux_side)->BIsParentalLockEnabled(); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp index 1fb006b5..00e1f476 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_111/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h" -#include "struct_converters_111.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_111.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp index 94b45a6a..eefa325d 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_116/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h" -#include "struct_converters_116.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_116.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp index 1e4e2df2..f8cc959c 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_117/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h" -#include "struct_converters_117.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_117.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp index f1e8fb19..2a067dab 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_119/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h" -#include "struct_converters_119.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_119.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp index 1466c946..ce9ffc01 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_121/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h" -#include "struct_converters_121.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_121.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp index 23ea6ea3..c0f9003b 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_124/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h" -#include "struct_converters_124.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_124.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp index 106bd610..3961d4e6 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_125/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h" -#include "struct_converters_125.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_125.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp index a04e0c42..7eb6b613 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_134/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h" -#include "struct_converters_134.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_134.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp index 23551a24..17a997ff 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_137/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h" -#include "struct_converters_137.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_137.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_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); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp index 054ae789..4a6917ba 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_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); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp index 69e1a829..8061ade8 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_122/steam_api.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h" -#include "struct_converters_122.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_122.h" ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) { return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp index 92600ca5..b67b3c12 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_137/steam_api.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h" -#include "struct_converters_137.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_137.h" ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) { return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index 2929044f..a29f14ca 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) { return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp index d1ae8adc..cd0d915c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_128/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h" -#include "struct_converters_128.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_128.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp index ff02ce8d..964f88df 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_130/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h" -#include "struct_converters_130.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_130.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -115,7 +115,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_130(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_130(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp index 35d4bc11..ba3831a6 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_132/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h" -#include "struct_converters_132.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_132.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -115,7 +115,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_132(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_132(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp index ffa3a31f..ea272fd0 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_133b/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h" -#include "struct_converters_133b.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_133b.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -170,7 +170,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_133b(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_133b(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp index ace0f352..56f47306 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_136/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h" -#include "struct_converters_136.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_136.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -200,7 +200,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_136(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_136(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp index b3454e96..523035d8 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_137/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h" -#include "struct_converters_137.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_137.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -200,7 +200,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_137(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_137(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp index 070d9ccb..3131f193 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_139/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h" -#include "struct_converters_139.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_139.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -205,7 +205,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_139(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_139(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp index affce9f9..38850d2a 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); @@ -210,7 +210,6 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(void *linux_side, UG SteamParamStringArray_t lin_pTags; win_to_lin_struct_SteamParamStringArray_t_142(pTags, &lin_pTags); bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags); - lin_to_win_struct_const SteamParamStringArray_t_142(&lin_pTags, pTags); return retval; } diff --git a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp index 1e905c65..8ba74e96 100644 --- a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_141/steam_api.h" #include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h" -#include "struct_converters_141.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_141.h" ClientUnifiedMessageHandle cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(void *linux_side, const char * pchServiceMethod, const void * pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext) { return ((ISteamUnifiedMessages*)linux_side)->SendMethod((const char *)pchServiceMethod, (const void *)pRequestBuffer, (uint32)unRequestBufferSize, (uint64)unContext); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp index d5ee66b3..a1db5e5b 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_102/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h" -#include "struct_converters_102.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_102.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp index 8a19f638..ca619940 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_103/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h" -#include "struct_converters_103.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_103.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp index 009062ae..2e1727e5 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_104/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h" -#include "struct_converters_104.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_104.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp index 0d24cf1f..b663e4c7 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_107/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h" -#include "struct_converters_107.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_107.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp index 4b375efa..c68bfb48 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_111/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h" -#include "struct_converters_111.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_111.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp index 06524ba6..1d83cae7 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_113/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h" -#include "struct_converters_113.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_113.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp index 4ad725cb..12aa6a3e 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_119/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h" -#include "struct_converters_119.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_119.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp index 8dec01d1..00a1fbf9 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side) { return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); diff --git a/lsteamclient/cppISteamUser_SteamUser009.cpp b/lsteamclient/cppISteamUser_SteamUser009.cpp index bd333a31..9c2d3ea5 100644 --- a/lsteamclient/cppISteamUser_SteamUser009.cpp +++ b/lsteamclient/cppISteamUser_SteamUser009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_100/steam_api.h" #include "cppISteamUser_SteamUser009.h" -#include "struct_converters_100.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_100.h" HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser010.cpp b/lsteamclient/cppISteamUser_SteamUser010.cpp index e6ac9742..a5fccb84 100644 --- a/lsteamclient/cppISteamUser_SteamUser010.cpp +++ b/lsteamclient/cppISteamUser_SteamUser010.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_101/steam_api.h" #include "cppISteamUser_SteamUser010.h" -#include "struct_converters_101.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_101.h" HSteamUser cppISteamUser_SteamUser010_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser011.cpp b/lsteamclient/cppISteamUser_SteamUser011.cpp index 431c1e80..b866fe68 100644 --- a/lsteamclient/cppISteamUser_SteamUser011.cpp +++ b/lsteamclient/cppISteamUser_SteamUser011.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_103/steam_api.h" #include "cppISteamUser_SteamUser011.h" -#include "struct_converters_103.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_103.h" HSteamUser cppISteamUser_SteamUser011_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser012.cpp b/lsteamclient/cppISteamUser_SteamUser012.cpp index 2584d56b..b1a390ab 100644 --- a/lsteamclient/cppISteamUser_SteamUser012.cpp +++ b/lsteamclient/cppISteamUser_SteamUser012.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_105/steam_api.h" #include "cppISteamUser_SteamUser012.h" -#include "struct_converters_105.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_105.h" HSteamUser cppISteamUser_SteamUser012_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser013.cpp b/lsteamclient/cppISteamUser_SteamUser013.cpp index 7172c11b..5cc90ca7 100644 --- a/lsteamclient/cppISteamUser_SteamUser013.cpp +++ b/lsteamclient/cppISteamUser_SteamUser013.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_110/steam_api.h" #include "cppISteamUser_SteamUser013.h" -#include "struct_converters_110.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_110.h" HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser014.cpp b/lsteamclient/cppISteamUser_SteamUser014.cpp index 2f7540e3..363b4d26 100644 --- a/lsteamclient/cppISteamUser_SteamUser014.cpp +++ b/lsteamclient/cppISteamUser_SteamUser014.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_112/steam_api.h" #include "cppISteamUser_SteamUser014.h" -#include "struct_converters_112.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_112.h" HSteamUser cppISteamUser_SteamUser014_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser016.cpp b/lsteamclient/cppISteamUser_SteamUser016.cpp index f940c2c5..e7b8d3dd 100644 --- a/lsteamclient/cppISteamUser_SteamUser016.cpp +++ b/lsteamclient/cppISteamUser_SteamUser016.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_123a/steam_api.h" #include "cppISteamUser_SteamUser016.h" -#include "struct_converters_123a.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_123a.h" HSteamUser cppISteamUser_SteamUser016_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser017.cpp b/lsteamclient/cppISteamUser_SteamUser017.cpp index a43a3243..406bb1b0 100644 --- a/lsteamclient/cppISteamUser_SteamUser017.cpp +++ b/lsteamclient/cppISteamUser_SteamUser017.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_131/steam_api.h" #include "cppISteamUser_SteamUser017.h" -#include "struct_converters_131.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_131.h" HSteamUser cppISteamUser_SteamUser017_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser018.cpp b/lsteamclient/cppISteamUser_SteamUser018.cpp index f05e1d45..9f4d35c3 100644 --- a/lsteamclient/cppISteamUser_SteamUser018.cpp +++ b/lsteamclient/cppISteamUser_SteamUser018.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_136/steam_api.h" #include "cppISteamUser_SteamUser018.h" -#include "struct_converters_136.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_136.h" HSteamUser cppISteamUser_SteamUser018_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUser_SteamUser019.cpp b/lsteamclient/cppISteamUser_SteamUser019.cpp index fe6a0d7f..db7358b0 100644 --- a/lsteamclient/cppISteamUser_SteamUser019.cpp +++ b/lsteamclient/cppISteamUser_SteamUser019.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamUser_SteamUser019.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" HSteamUser cppISteamUser_SteamUser019_GetHSteamUser(void *linux_side) { return ((ISteamUser*)linux_side)->GetHSteamUser(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils002.cpp b/lsteamclient/cppISteamUtils_SteamUtils002.cpp index d8fd0b2e..c10b667d 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils002.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_103/steam_api.h" #include "cppISteamUtils_SteamUtils002.h" -#include "struct_converters_103.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_103.h" uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils004.cpp b/lsteamclient/cppISteamUtils_SteamUtils004.cpp index a3e41473..ae50efae 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils004.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils004.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_106/steam_api.h" #include "cppISteamUtils_SteamUtils004.h" -#include "struct_converters_106.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_106.h" uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils005.cpp b/lsteamclient/cppISteamUtils_SteamUtils005.cpp index 90f25495..79d80ee3 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils005.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils005.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_123a/steam_api.h" #include "cppISteamUtils_SteamUtils005.h" -#include "struct_converters_123a.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_123a.h" uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils006.cpp b/lsteamclient/cppISteamUtils_SteamUtils006.cpp index ceb70154..94d23f2f 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils006.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils006.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_128/steam_api.h" #include "cppISteamUtils_SteamUtils006.h" -#include "struct_converters_128.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_128.h" uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils007.cpp b/lsteamclient/cppISteamUtils_SteamUtils007.cpp index 27c7a169..d7c3b01a 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils007.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils007.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_136/steam_api.h" #include "cppISteamUtils_SteamUtils007.h" -#include "struct_converters_136.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_136.h" uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils008.cpp b/lsteamclient/cppISteamUtils_SteamUtils008.cpp index 1b552059..7d8ff347 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils008.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils008.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_139/steam_api.h" #include "cppISteamUtils_SteamUtils008.h" -#include "struct_converters_139.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_139.h" uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.cpp b/lsteamclient/cppISteamUtils_SteamUtils009.cpp index 09a1acd6..079edda0 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils009.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamUtils_SteamUtils009.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *linux_side) { return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp index a96c5d9e..01af1d54 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_139/steam_api.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h" -#include "struct_converters_139.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_139.h" void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(void *linux_side, AppId_t unVideoAppID) { ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index 6b179f41..d39cdc52 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -2,10 +2,10 @@ #include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" -#include "struct_converters_142.h" #ifdef __cplusplus extern "C" { #endif +#include "struct_converters_142.h" void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID) { ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 78f96e94..d8550188 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -148,7 +148,10 @@ skip_structs = [ exempt_structs = [ "CSteamID", "CGameID", - "MatchMakingKeyValuePair_t" + "MatchMakingKeyValuePair_t", + "CCallbackBase", + "SteamPS3Params_t", + "ValvePackingSentinel_t" ] # callback classes for which we have a linux wrapper @@ -328,7 +331,8 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e cfile.write("}\n\n") for param in need_convert: if param.type.kind == clang.cindex.TypeKind.POINTER: - cpp.write(" lin_to_win_struct_%s_%s(&lin_%s, %s);\n" % (param.type.get_pointee().spelling, sdkver, param.spelling, param.spelling)) + if not "const " in param.type.spelling: #don't modify const arguments + cpp.write(" lin_to_win_struct_%s_%s(&lin_%s, %s);\n" % (param.type.get_pointee().spelling, sdkver, param.spelling, param.spelling)) else: cpp.write(" lin_to_win_struct_%s_%s(&lin_%s, &%s);\n" % (param.type.spelling, sdkver, param.spelling, param.spelling)) if method.result_type.kind != clang.cindex.TypeKind.VOID and \ @@ -387,8 +391,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); if not fname == "steam_api.h": cpp.write("#include \"steamworks_sdk_%s/%s\"\n" % (sdkver, fname)) cpp.write("#include \"%s.h\"\n" % cppname) - cpp.write("#include \"struct_converters_%s.h\"\n" % sdkver) cpp.write("#ifdef __cplusplus\nextern \"C\" {\n#endif\n") + cpp.write("#include \"struct_converters_%s.h\"\n" % sdkver) cpp_h = open("%s.h" % cppname, "w") cpp_h.write("#ifdef __cplusplus\nextern \"C\" {\n#endif\n") @@ -466,15 +470,15 @@ def handle_struct(sdkver, struct): if cb_num is None: if not has_fields: return - if struct.displayname in exempt_structs: + if struct.spelling == "" or struct.displayname in exempt_structs: return struct_name = "%s_%s" % (struct.displayname, sdkver) w2l_handler_name = "win_to_lin_struct_%s" % struct_name; l2w_handler_name = "lin_to_win_struct_%s" % struct_name; hfile = open("struct_converters_%s.h" % sdkver, "a") - hfile.write("extern void %s(void *w, void *l);\n" % w2l_handler_name) - hfile.write("extern void %s(void *l, void *w);\n\n" % l2w_handler_name) + hfile.write("extern void %s(const void *w, void *l);\n" % w2l_handler_name) + hfile.write("extern void %s(const void *l, void *w);\n\n" % l2w_handler_name) else: #for callbacks, we use the linux struct size in the cb dispatch switch @@ -562,7 +566,7 @@ def handle_struct(sdkver, struct): cppfile.write(" %s->%s = %s->%s;\n" % (dst, m.displayname, src, m.displayname)) if w2l_handler_name: - cppfile.write("void %s(void *w, void *l)\n{\n" % w2l_handler_name) + cppfile.write("void %s(const void *w, void *l)\n{\n" % w2l_handler_name) cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (struct_name, struct_name)) for m in struct.get_children(): @@ -570,7 +574,7 @@ def handle_struct(sdkver, struct): cppfile.write("}\n\n") if l2w_handler_name: - cppfile.write("void %s(void *l, void *w)\n{\n" % l2w_handler_name) + cppfile.write("void %s(const void *l, void *w)\n{\n" % l2w_handler_name) cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (struct_name, struct_name)) for m in struct.get_children(): diff --git a/lsteamclient/struct_converters_100.cpp b/lsteamclient/struct_converters_100.cpp index c91aa9e0..a3771045 100644 --- a/lsteamclient/struct_converters_100.cpp +++ b/lsteamclient/struct_converters_100.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_100 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_100(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_100(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_100 *win = (struct winCallbackMsg_t_100 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_100(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_100(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_100(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_100 *win = (struct winCallbackMsg_t_100 *)w; @@ -38,7 +38,7 @@ struct winservernetadr_t_100 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_100(void *w, void *l) +void win_to_lin_struct_servernetadr_t_100(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_100 *win = (struct winservernetadr_t_100 *)w; @@ -47,7 +47,7 @@ void win_to_lin_struct_servernetadr_t_100(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_100(void *l, void *w) +void lin_to_win_struct_servernetadr_t_100(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_100 *win = (struct winservernetadr_t_100 *)w; @@ -77,7 +77,7 @@ struct wingameserveritem_t_100 { char m_szGameTags[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_100(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_100(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_100 *win = (struct wingameserveritem_t_100 *)w; @@ -100,7 +100,7 @@ void win_to_lin_struct_gameserveritem_t_100(void *w, void *l) memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); } -void lin_to_win_struct_gameserveritem_t_100(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_100(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_100 *win = (struct wingameserveritem_t_100 *)w; @@ -130,7 +130,7 @@ struct winAppDataChanged_t_8 { bool m_bCDDBUpdate; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AppDataChanged_t_8(void *l, void *w) +void cb_AppDataChanged_t_8(const void *l, void *w) { AppDataChanged_t *lin = (AppDataChanged_t *)l; struct winAppDataChanged_t_8 *win = (struct winAppDataChanged_t_8 *)w; @@ -139,27 +139,5 @@ void cb_AppDataChanged_t_8(void *l, void *w) win->m_bCDDBUpdate = lin->m_bCDDBUpdate; } -#pragma pack( push, 8 ) -struct winCCallbackBase_100 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_100(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_100 *win = (struct winCCallbackBase_100 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_100(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_100 *win = (struct winCCallbackBase_100 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_100.h b/lsteamclient/struct_converters_100.h index 90f079b4..a5b54274 100644 --- a/lsteamclient/struct_converters_100.h +++ b/lsteamclient/struct_converters_100.h @@ -1,12 +1,9 @@ -extern void win_to_lin_struct_CallbackMsg_t_100(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_100(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_100(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_100(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_100(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_100(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_100(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_100(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_100(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_100(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_100(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_100(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_100(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_100(const void *l, void *w); diff --git a/lsteamclient/struct_converters_101.cpp b/lsteamclient/struct_converters_101.cpp index ae9ebe69..02b55e7d 100644 --- a/lsteamclient/struct_converters_101.cpp +++ b/lsteamclient/struct_converters_101.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_101 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_101(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_101(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_101 *win = (struct winCallbackMsg_t_101 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_101(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_101(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_101(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_101 *win = (struct winCallbackMsg_t_101 *)w; @@ -38,7 +38,7 @@ struct winservernetadr_t_101 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_101(void *w, void *l) +void win_to_lin_struct_servernetadr_t_101(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_101 *win = (struct winservernetadr_t_101 *)w; @@ -47,7 +47,7 @@ void win_to_lin_struct_servernetadr_t_101(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_101(void *l, void *w) +void lin_to_win_struct_servernetadr_t_101(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_101 *win = (struct winservernetadr_t_101 *)w; @@ -77,7 +77,7 @@ struct wingameserveritem_t_101 { char m_szGameTags[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_101(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_101(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_101 *win = (struct wingameserveritem_t_101 *)w; @@ -100,7 +100,7 @@ void win_to_lin_struct_gameserveritem_t_101(void *w, void *l) memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); } -void lin_to_win_struct_gameserveritem_t_101(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_101(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_101 *win = (struct wingameserveritem_t_101 *)w; @@ -123,27 +123,5 @@ void lin_to_win_struct_gameserveritem_t_101(void *l, void *w) memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); } -#pragma pack( push, 8 ) -struct winCCallbackBase_101 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_101(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_101 *win = (struct winCCallbackBase_101 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_101(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_101 *win = (struct winCCallbackBase_101 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_101.h b/lsteamclient/struct_converters_101.h index 28d8679b..2ad7bc16 100644 --- a/lsteamclient/struct_converters_101.h +++ b/lsteamclient/struct_converters_101.h @@ -1,12 +1,9 @@ -extern void win_to_lin_struct_CallbackMsg_t_101(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_101(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_101(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_101(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_101(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_101(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_101(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_101(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_101(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_101(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_101(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_101(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_101(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_101(const void *l, void *w); diff --git a/lsteamclient/struct_converters_102.cpp b/lsteamclient/struct_converters_102.cpp index 39ae8aad..998da60e 100644 --- a/lsteamclient/struct_converters_102.cpp +++ b/lsteamclient/struct_converters_102.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_102 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_102(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_102(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_102 *win = (struct winCallbackMsg_t_102 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_102(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_102(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_102(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_102 *win = (struct winCallbackMsg_t_102 *)w; @@ -38,7 +38,7 @@ struct winservernetadr_t_102 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_102(void *w, void *l) +void win_to_lin_struct_servernetadr_t_102(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_102 *win = (struct winservernetadr_t_102 *)w; @@ -47,7 +47,7 @@ void win_to_lin_struct_servernetadr_t_102(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_102(void *l, void *w) +void lin_to_win_struct_servernetadr_t_102(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_102 *win = (struct winservernetadr_t_102 *)w; @@ -77,7 +77,7 @@ struct wingameserveritem_t_102 { char m_szGameTags[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_102(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_102(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_102 *win = (struct wingameserveritem_t_102 *)w; @@ -100,7 +100,7 @@ void win_to_lin_struct_gameserveritem_t_102(void *w, void *l) memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); } -void lin_to_win_struct_gameserveritem_t_102(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_102(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_102 *win = (struct wingameserveritem_t_102 *)w; @@ -131,7 +131,7 @@ struct winRequestFriendsLobbiesResponse_t_24 { int m_cResultsTotal; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RequestFriendsLobbiesResponse_t_24(void *l, void *w) +void cb_RequestFriendsLobbiesResponse_t_24(const void *l, void *w) { RequestFriendsLobbiesResponse_t *lin = (RequestFriendsLobbiesResponse_t *)l; struct winRequestFriendsLobbiesResponse_t_24 *win = (struct winRequestFriendsLobbiesResponse_t_24 *)w; @@ -147,7 +147,7 @@ struct winUserStatsReceived_t_12 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserStatsReceived_t_12(void *l, void *w) +void cb_UserStatsReceived_t_12(const void *l, void *w) { UserStatsReceived_t *lin = (UserStatsReceived_t *)l; struct winUserStatsReceived_t_12 *win = (struct winUserStatsReceived_t_12 *)w; @@ -155,27 +155,5 @@ void cb_UserStatsReceived_t_12(void *l, void *w) win->m_eResult = lin->m_eResult; } -#pragma pack( push, 8 ) -struct winCCallbackBase_102 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_102(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_102 *win = (struct winCCallbackBase_102 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_102(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_102 *win = (struct winCCallbackBase_102 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_102.h b/lsteamclient/struct_converters_102.h index ade267ba..b750f034 100644 --- a/lsteamclient/struct_converters_102.h +++ b/lsteamclient/struct_converters_102.h @@ -1,12 +1,9 @@ -extern void win_to_lin_struct_CallbackMsg_t_102(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_102(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_102(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_102(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_102(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_102(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_102(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_102(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_102(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_102(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_102(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_102(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_102(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_102(const void *l, void *w); diff --git a/lsteamclient/struct_converters_103.cpp b/lsteamclient/struct_converters_103.cpp index ff3fc2ab..189e699e 100644 --- a/lsteamclient/struct_converters_103.cpp +++ b/lsteamclient/struct_converters_103.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_103 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_103(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_103(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_103 *win = (struct winCallbackMsg_t_103 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_103(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_103(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_103(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_103 *win = (struct winCallbackMsg_t_103 *)w; @@ -40,7 +40,7 @@ struct winFriendGameInfo_t_103 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_103(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_103(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_103 *win = (struct winFriendGameInfo_t_103 *)w; @@ -51,7 +51,7 @@ void win_to_lin_struct_FriendGameInfo_t_103(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_103(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_103(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_103 *win = (struct winFriendGameInfo_t_103 *)w; @@ -69,7 +69,7 @@ struct winservernetadr_t_103 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_103(void *w, void *l) +void win_to_lin_struct_servernetadr_t_103(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_103 *win = (struct winservernetadr_t_103 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_servernetadr_t_103(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_103(void *l, void *w) +void lin_to_win_struct_servernetadr_t_103(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_103 *win = (struct winservernetadr_t_103 *)w; @@ -108,7 +108,7 @@ struct wingameserveritem_t_103 { char m_szGameTags[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_103(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_103(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_103 *win = (struct wingameserveritem_t_103 *)w; @@ -131,7 +131,7 @@ void win_to_lin_struct_gameserveritem_t_103(void *w, void *l) memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); } -void lin_to_win_struct_gameserveritem_t_103(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_103(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_103 *win = (struct wingameserveritem_t_103 *)w; @@ -154,27 +154,5 @@ void lin_to_win_struct_gameserveritem_t_103(void *l, void *w) memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); } -#pragma pack( push, 8 ) -struct winCCallbackBase_103 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_103(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_103 *win = (struct winCCallbackBase_103 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_103(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_103 *win = (struct winCCallbackBase_103 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_103.h b/lsteamclient/struct_converters_103.h index 841c496e..469ece09 100644 --- a/lsteamclient/struct_converters_103.h +++ b/lsteamclient/struct_converters_103.h @@ -1,15 +1,12 @@ -extern void win_to_lin_struct_CallbackMsg_t_103(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_103(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_103(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_103(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_103(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_103(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_103(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_103(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_103(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_103(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_103(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_103(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_103(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_103(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_103(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_103(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_103(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_103(const void *l, void *w); diff --git a/lsteamclient/struct_converters_104.cpp b/lsteamclient/struct_converters_104.cpp index 6eee819e..42b37f35 100644 --- a/lsteamclient/struct_converters_104.cpp +++ b/lsteamclient/struct_converters_104.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_104 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_104(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_104(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_104 *win = (struct winCallbackMsg_t_104 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_104(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_104(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_104(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_104 *win = (struct winCallbackMsg_t_104 *)w; @@ -40,7 +40,7 @@ struct winFriendGameInfo_t_104 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_104(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_104(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_104 *win = (struct winFriendGameInfo_t_104 *)w; @@ -51,7 +51,7 @@ void win_to_lin_struct_FriendGameInfo_t_104(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_104(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_104(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_104 *win = (struct winFriendGameInfo_t_104 *)w; @@ -69,7 +69,7 @@ struct winservernetadr_t_104 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_104(void *w, void *l) +void win_to_lin_struct_servernetadr_t_104(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_104 *win = (struct winservernetadr_t_104 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_servernetadr_t_104(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_104(void *l, void *w) +void lin_to_win_struct_servernetadr_t_104(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_104 *win = (struct winservernetadr_t_104 *)w; @@ -108,7 +108,7 @@ struct wingameserveritem_t_104 { char m_szGameTags[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_104(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_104(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_104 *win = (struct wingameserveritem_t_104 *)w; @@ -131,7 +131,7 @@ void win_to_lin_struct_gameserveritem_t_104(void *w, void *l) memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); } -void lin_to_win_struct_gameserveritem_t_104(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_104(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_104 *win = (struct wingameserveritem_t_104 *)w; @@ -159,7 +159,7 @@ struct winLobbyClosing_t_8 { uint64 m_ulSteamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyClosing_t_8(void *l, void *w) +void cb_LobbyClosing_t_8(const void *l, void *w) { LobbyClosing_t *lin = (LobbyClosing_t *)l; struct winLobbyClosing_t_8 *win = (struct winLobbyClosing_t_8 *)w; @@ -172,7 +172,7 @@ struct winLobbyKicked_t_16 { uint64 m_ulSteamIDAdmin; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyKicked_t_16(void *l, void *w) +void cb_LobbyKicked_t_16(const void *l, void *w) { LobbyKicked_t *lin = (LobbyKicked_t *)l; struct winLobbyKicked_t_16 *win = (struct winLobbyKicked_t_16 *)w; @@ -188,7 +188,7 @@ struct winLeaderboardEntry_t_104 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_104(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_104(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_104 *win = (struct winLeaderboardEntry_t_104 *)w; @@ -198,7 +198,7 @@ void win_to_lin_struct_LeaderboardEntry_t_104(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_104(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_104(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_104 *win = (struct winLeaderboardEntry_t_104 *)w; @@ -208,27 +208,5 @@ void lin_to_win_struct_LeaderboardEntry_t_104(void *l, void *w) win->m_cDetails = lin->m_cDetails; } -#pragma pack( push, 8 ) -struct winCCallbackBase_104 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_104(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_104 *win = (struct winCCallbackBase_104 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_104(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_104 *win = (struct winCCallbackBase_104 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_104.h b/lsteamclient/struct_converters_104.h index 719ae5f7..bc76a3ae 100644 --- a/lsteamclient/struct_converters_104.h +++ b/lsteamclient/struct_converters_104.h @@ -1,18 +1,15 @@ -extern void win_to_lin_struct_CallbackMsg_t_104(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_104(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_104(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_104(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_104(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_104(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_104(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_104(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_104(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_104(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_104(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_104(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_104(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_104(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_104(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_104(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_104(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_104(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_104(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_104(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_104(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_104(const void *l, void *w); diff --git a/lsteamclient/struct_converters_105.cpp b/lsteamclient/struct_converters_105.cpp index a07cf290..cc5bc1a8 100644 --- a/lsteamclient/struct_converters_105.cpp +++ b/lsteamclient/struct_converters_105.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_105 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_105(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_105(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_105 *win = (struct winCallbackMsg_t_105 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_105(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_105(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_105(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_105 *win = (struct winCallbackMsg_t_105 *)w; @@ -40,7 +40,7 @@ struct winFriendGameInfo_t_105 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_105(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_105(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_105 *win = (struct winFriendGameInfo_t_105 *)w; @@ -51,7 +51,7 @@ void win_to_lin_struct_FriendGameInfo_t_105(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_105(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_105(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_105 *win = (struct winFriendGameInfo_t_105 *)w; @@ -69,7 +69,7 @@ struct winservernetadr_t_105 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_105(void *w, void *l) +void win_to_lin_struct_servernetadr_t_105(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_105 *win = (struct winservernetadr_t_105 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_servernetadr_t_105(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_105(void *l, void *w) +void lin_to_win_struct_servernetadr_t_105(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_105 *win = (struct winservernetadr_t_105 *)w; @@ -109,7 +109,7 @@ struct wingameserveritem_t_105 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_105(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_105(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_105 *win = (struct wingameserveritem_t_105 *)w; @@ -133,7 +133,7 @@ void win_to_lin_struct_gameserveritem_t_105(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_105(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_105(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_105 *win = (struct wingameserveritem_t_105 *)w; @@ -165,7 +165,7 @@ struct winLeaderboardEntry_t_105 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_105(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_105(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_105 *win = (struct winLeaderboardEntry_t_105 *)w; @@ -175,7 +175,7 @@ void win_to_lin_struct_LeaderboardEntry_t_105(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_105(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_105(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_105 *win = (struct winLeaderboardEntry_t_105 *)w; @@ -197,7 +197,7 @@ struct winP2PSessionState_t_105 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_105(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_105(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_105 *win = (struct winP2PSessionState_t_105 *)w; @@ -211,7 +211,7 @@ void win_to_lin_struct_P2PSessionState_t_105(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_105(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_105(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_105 *win = (struct winP2PSessionState_t_105 *)w; @@ -225,27 +225,5 @@ void lin_to_win_struct_P2PSessionState_t_105(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_105 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_105(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_105 *win = (struct winCCallbackBase_105 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_105(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_105 *win = (struct winCCallbackBase_105 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_105.h b/lsteamclient/struct_converters_105.h index 9ec8c3a2..3fe388c0 100644 --- a/lsteamclient/struct_converters_105.h +++ b/lsteamclient/struct_converters_105.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_105(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_105(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_105(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_105(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_105(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_105(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_105(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_105(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_105(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_105(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_105(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_105(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_105(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_105(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_105(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_105(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_105(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_105(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_105(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_105(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_105(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_105(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_105(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_105(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_105(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_105(const void *l, void *w); diff --git a/lsteamclient/struct_converters_106.cpp b/lsteamclient/struct_converters_106.cpp index e5e9587d..0b74b86c 100644 --- a/lsteamclient/struct_converters_106.cpp +++ b/lsteamclient/struct_converters_106.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_106 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_106(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_106(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_106 *win = (struct winCallbackMsg_t_106 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_106(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_106(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_106(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_106 *win = (struct winCallbackMsg_t_106 *)w; @@ -40,7 +40,7 @@ struct winFriendGameInfo_t_106 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_106(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_106(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_106 *win = (struct winFriendGameInfo_t_106 *)w; @@ -51,7 +51,7 @@ void win_to_lin_struct_FriendGameInfo_t_106(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_106(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_106(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_106 *win = (struct winFriendGameInfo_t_106 *)w; @@ -69,7 +69,7 @@ struct winservernetadr_t_106 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_106(void *w, void *l) +void win_to_lin_struct_servernetadr_t_106(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_106 *win = (struct winservernetadr_t_106 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_servernetadr_t_106(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_106(void *l, void *w) +void lin_to_win_struct_servernetadr_t_106(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_106 *win = (struct winservernetadr_t_106 *)w; @@ -109,7 +109,7 @@ struct wingameserveritem_t_106 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_106(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_106(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_106 *win = (struct wingameserveritem_t_106 *)w; @@ -133,7 +133,7 @@ void win_to_lin_struct_gameserveritem_t_106(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_106(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_106(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_106 *win = (struct wingameserveritem_t_106 *)w; @@ -165,7 +165,7 @@ struct winLeaderboardEntry_t_106 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_106(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_106(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_106 *win = (struct winLeaderboardEntry_t_106 *)w; @@ -175,7 +175,7 @@ void win_to_lin_struct_LeaderboardEntry_t_106(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_106(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_106(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_106 *win = (struct winLeaderboardEntry_t_106 *)w; @@ -197,7 +197,7 @@ struct winP2PSessionState_t_106 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_106(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_106(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_106 *win = (struct winP2PSessionState_t_106 *)w; @@ -211,7 +211,7 @@ void win_to_lin_struct_P2PSessionState_t_106(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_106(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_106(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_106 *win = (struct winP2PSessionState_t_106 *)w; @@ -225,27 +225,5 @@ void lin_to_win_struct_P2PSessionState_t_106(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_106 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_106(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_106 *win = (struct winCCallbackBase_106 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_106(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_106 *win = (struct winCCallbackBase_106 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_106.h b/lsteamclient/struct_converters_106.h index 20fd1c85..83714c2e 100644 --- a/lsteamclient/struct_converters_106.h +++ b/lsteamclient/struct_converters_106.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_106(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_106(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_106(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_106(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_106(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_106(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_106(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_106(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_106(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_106(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_106(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_106(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_106(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_106(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_106(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_106(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_106(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_106(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_106(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_106(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_106(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_106(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_106(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_106(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_106(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_106(const void *l, void *w); diff --git a/lsteamclient/struct_converters_107.cpp b/lsteamclient/struct_converters_107.cpp index a59a40ce..4fda4510 100644 --- a/lsteamclient/struct_converters_107.cpp +++ b/lsteamclient/struct_converters_107.cpp @@ -11,7 +11,7 @@ struct winCallbackMsg_t_107 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_107(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_107(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_107 *win = (struct winCallbackMsg_t_107 *)w; @@ -21,7 +21,7 @@ void win_to_lin_struct_CallbackMsg_t_107(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_107(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_107(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_107 *win = (struct winCallbackMsg_t_107 *)w; @@ -40,7 +40,7 @@ struct winFriendGameInfo_t_107 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_107(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_107(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_107 *win = (struct winFriendGameInfo_t_107 *)w; @@ -51,7 +51,7 @@ void win_to_lin_struct_FriendGameInfo_t_107(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_107(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_107(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_107 *win = (struct winFriendGameInfo_t_107 *)w; @@ -69,7 +69,7 @@ struct winservernetadr_t_107 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_107(void *w, void *l) +void win_to_lin_struct_servernetadr_t_107(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_107 *win = (struct winservernetadr_t_107 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_servernetadr_t_107(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_107(void *l, void *w) +void lin_to_win_struct_servernetadr_t_107(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_107 *win = (struct winservernetadr_t_107 *)w; @@ -109,7 +109,7 @@ struct wingameserveritem_t_107 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_107(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_107(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_107 *win = (struct wingameserveritem_t_107 *)w; @@ -133,7 +133,7 @@ void win_to_lin_struct_gameserveritem_t_107(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_107(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_107(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_107 *win = (struct wingameserveritem_t_107 *)w; @@ -165,7 +165,7 @@ struct winLeaderboardEntry_t_107 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_107(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_107(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_107 *win = (struct winLeaderboardEntry_t_107 *)w; @@ -175,7 +175,7 @@ void win_to_lin_struct_LeaderboardEntry_t_107(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_107(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_107(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_107 *win = (struct winLeaderboardEntry_t_107 *)w; @@ -197,7 +197,7 @@ struct winP2PSessionState_t_107 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_107(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_107(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_107 *win = (struct winP2PSessionState_t_107 *)w; @@ -211,7 +211,7 @@ void win_to_lin_struct_P2PSessionState_t_107(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_107(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_107(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_107 *win = (struct winP2PSessionState_t_107 *)w; @@ -225,27 +225,5 @@ void lin_to_win_struct_P2PSessionState_t_107(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_107 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_107(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_107 *win = (struct winCCallbackBase_107 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_107(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_107 *win = (struct winCCallbackBase_107 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_107.h b/lsteamclient/struct_converters_107.h index eaa160fc..55c4b272 100644 --- a/lsteamclient/struct_converters_107.h +++ b/lsteamclient/struct_converters_107.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_107(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_107(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_107(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_107(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_107(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_107(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_107(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_107(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_107(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_107(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_107(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_107(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_107(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_107(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_107(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_107(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_107(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_107(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_107(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_107(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_107(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_107(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_107(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_107(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_107(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_107(const void *l, void *w); diff --git a/lsteamclient/struct_converters_108.cpp b/lsteamclient/struct_converters_108.cpp index 1b73951d..ce20d0f8 100644 --- a/lsteamclient/struct_converters_108.cpp +++ b/lsteamclient/struct_converters_108.cpp @@ -12,7 +12,7 @@ struct winCallbackMsg_t_108 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_108(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_108(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_108 *win = (struct winCallbackMsg_t_108 *)w; @@ -22,7 +22,7 @@ void win_to_lin_struct_CallbackMsg_t_108(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_108(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_108(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_108 *win = (struct winCallbackMsg_t_108 *)w; @@ -41,7 +41,7 @@ struct winFriendGameInfo_t_108 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_108(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_108(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_108 *win = (struct winFriendGameInfo_t_108 *)w; @@ -52,7 +52,7 @@ void win_to_lin_struct_FriendGameInfo_t_108(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_108(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_108(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_108 *win = (struct winFriendGameInfo_t_108 *)w; @@ -70,7 +70,7 @@ struct winservernetadr_t_108 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_108(void *w, void *l) +void win_to_lin_struct_servernetadr_t_108(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_108 *win = (struct winservernetadr_t_108 *)w; @@ -79,7 +79,7 @@ void win_to_lin_struct_servernetadr_t_108(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_108(void *l, void *w) +void lin_to_win_struct_servernetadr_t_108(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_108 *win = (struct winservernetadr_t_108 *)w; @@ -110,7 +110,7 @@ struct wingameserveritem_t_108 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_108(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_108(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_108 *win = (struct wingameserveritem_t_108 *)w; @@ -134,7 +134,7 @@ void win_to_lin_struct_gameserveritem_t_108(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_108(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_108(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_108 *win = (struct wingameserveritem_t_108 *)w; @@ -166,7 +166,7 @@ struct winLeaderboardEntry_t_108 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_108(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_108(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_108 *win = (struct winLeaderboardEntry_t_108 *)w; @@ -176,7 +176,7 @@ void win_to_lin_struct_LeaderboardEntry_t_108(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_108(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_108(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_108 *win = (struct winLeaderboardEntry_t_108 *)w; @@ -198,7 +198,7 @@ struct winP2PSessionState_t_108 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_108(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_108(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_108 *win = (struct winP2PSessionState_t_108 *)w; @@ -212,7 +212,7 @@ void win_to_lin_struct_P2PSessionState_t_108(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_108(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_108(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_108 *win = (struct winP2PSessionState_t_108 *)w; @@ -226,27 +226,5 @@ void lin_to_win_struct_P2PSessionState_t_108(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_108 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_108(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_108 *win = (struct winCCallbackBase_108 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_108(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_108 *win = (struct winCCallbackBase_108 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_108.h b/lsteamclient/struct_converters_108.h index 1f162f27..9f4e97e8 100644 --- a/lsteamclient/struct_converters_108.h +++ b/lsteamclient/struct_converters_108.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_108(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_108(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_108(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_108(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_108(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_108(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_108(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_108(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_108(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_108(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_108(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_108(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_108(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_108(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_108(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_108(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_108(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_108(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_108(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_108(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_108(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_108(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_108(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_108(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_108(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_108(const void *l, void *w); diff --git a/lsteamclient/struct_converters_109.cpp b/lsteamclient/struct_converters_109.cpp index 5abeb596..d65ad81c 100644 --- a/lsteamclient/struct_converters_109.cpp +++ b/lsteamclient/struct_converters_109.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_109 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_109(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_109(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_109 *win = (struct winCallbackMsg_t_109 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_109(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_109(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_109(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_109 *win = (struct winCallbackMsg_t_109 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_109 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_109(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_109(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_109 *win = (struct winFriendGameInfo_t_109 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_109(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_109(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_109(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_109 *win = (struct winFriendGameInfo_t_109 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_109 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_109(void *w, void *l) +void win_to_lin_struct_servernetadr_t_109(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_109 *win = (struct winservernetadr_t_109 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_109(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_109(void *l, void *w) +void lin_to_win_struct_servernetadr_t_109(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_109 *win = (struct winservernetadr_t_109 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_109 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_109(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_109(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_109 *win = (struct wingameserveritem_t_109 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_109(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_109(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_109(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_109 *win = (struct wingameserveritem_t_109 *)w; @@ -167,7 +167,7 @@ struct winLeaderboardEntry_t_109 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_109(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_109(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_109 *win = (struct winLeaderboardEntry_t_109 *)w; @@ -177,7 +177,7 @@ void win_to_lin_struct_LeaderboardEntry_t_109(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_109(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_109(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_109 *win = (struct winLeaderboardEntry_t_109 *)w; @@ -199,7 +199,7 @@ struct winP2PSessionState_t_109 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_109(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_109(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_109 *win = (struct winP2PSessionState_t_109 *)w; @@ -213,7 +213,7 @@ void win_to_lin_struct_P2PSessionState_t_109(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_109(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_109(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_109 *win = (struct winP2PSessionState_t_109 *)w; @@ -227,27 +227,5 @@ void lin_to_win_struct_P2PSessionState_t_109(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_109 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_109(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_109 *win = (struct winCCallbackBase_109 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_109(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_109 *win = (struct winCCallbackBase_109 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_109.h b/lsteamclient/struct_converters_109.h index 3f36cd03..46d4c6e5 100644 --- a/lsteamclient/struct_converters_109.h +++ b/lsteamclient/struct_converters_109.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_109(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_109(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_109(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_109(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_109(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_109(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_109(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_109(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_109(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_109(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_109(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_109(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_109(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_109(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_109(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_109(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_109(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_109(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_109(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_109(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_109(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_109(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_109(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_109(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_109(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_109(const void *l, void *w); diff --git a/lsteamclient/struct_converters_110.cpp b/lsteamclient/struct_converters_110.cpp index 7d6efe19..10596640 100644 --- a/lsteamclient/struct_converters_110.cpp +++ b/lsteamclient/struct_converters_110.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_110 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_110(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_110(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_110 *win = (struct winCallbackMsg_t_110 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_110(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_110(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_110(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_110 *win = (struct winCallbackMsg_t_110 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_110 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_110(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_110(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_110 *win = (struct winFriendGameInfo_t_110 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_110(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_110(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_110(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_110 *win = (struct winFriendGameInfo_t_110 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_110 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_110(void *w, void *l) +void win_to_lin_struct_servernetadr_t_110(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_110 *win = (struct winservernetadr_t_110 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_110(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_110(void *l, void *w) +void lin_to_win_struct_servernetadr_t_110(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_110 *win = (struct winservernetadr_t_110 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_110 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_110(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_110(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_110 *win = (struct wingameserveritem_t_110 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_110(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_110(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_110(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_110 *win = (struct wingameserveritem_t_110 *)w; @@ -167,7 +167,7 @@ struct winLeaderboardEntry_t_110 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_110(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_110(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_110 *win = (struct winLeaderboardEntry_t_110 *)w; @@ -177,7 +177,7 @@ void win_to_lin_struct_LeaderboardEntry_t_110(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_110(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_110(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_110 *win = (struct winLeaderboardEntry_t_110 *)w; @@ -199,7 +199,7 @@ struct winP2PSessionState_t_110 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_110(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_110(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_110 *win = (struct winP2PSessionState_t_110 *)w; @@ -213,7 +213,7 @@ void win_to_lin_struct_P2PSessionState_t_110(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_110(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_110(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_110 *win = (struct winP2PSessionState_t_110 *)w; @@ -227,27 +227,5 @@ void lin_to_win_struct_P2PSessionState_t_110(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_110 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_110(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_110 *win = (struct winCCallbackBase_110 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_110(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_110 *win = (struct winCCallbackBase_110 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_110.h b/lsteamclient/struct_converters_110.h index 3300568b..a2174a23 100644 --- a/lsteamclient/struct_converters_110.h +++ b/lsteamclient/struct_converters_110.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_110(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_110(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_110(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_110(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_110(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_110(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_110(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_110(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_110(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_110(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_110(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_110(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_110(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_110(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_110(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_110(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_110(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_110(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_110(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_110(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_110(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_110(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_110(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_110(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_110(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_110(const void *l, void *w); diff --git a/lsteamclient/struct_converters_111.cpp b/lsteamclient/struct_converters_111.cpp index ee2757f5..6bfa9786 100644 --- a/lsteamclient/struct_converters_111.cpp +++ b/lsteamclient/struct_converters_111.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_111 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_111(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_111(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_111 *win = (struct winCallbackMsg_t_111 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_111(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_111(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_111(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_111 *win = (struct winCallbackMsg_t_111 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_111 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_111(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_111(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_111 *win = (struct winFriendGameInfo_t_111 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_111(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_111(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_111(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_111 *win = (struct winFriendGameInfo_t_111 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_111 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_111(void *w, void *l) +void win_to_lin_struct_servernetadr_t_111(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_111 *win = (struct winservernetadr_t_111 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_111(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_111(void *l, void *w) +void lin_to_win_struct_servernetadr_t_111(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_111 *win = (struct winservernetadr_t_111 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_111 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_111(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_111(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_111 *win = (struct wingameserveritem_t_111 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_111(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_111(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_111(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_111 *win = (struct wingameserveritem_t_111 *)w; @@ -165,7 +165,7 @@ struct winLobbyDataUpdate_t_16 { uint64 m_ulSteamIDMember; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyDataUpdate_t_16(void *l, void *w) +void cb_LobbyDataUpdate_t_16(const void *l, void *w) { LobbyDataUpdate_t *lin = (LobbyDataUpdate_t *)l; struct winLobbyDataUpdate_t_16 *win = (struct winLobbyDataUpdate_t_16 *)w; @@ -181,7 +181,7 @@ struct winLeaderboardEntry_t_111 { int32 m_cDetails; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_111(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_111(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_111 *win = (struct winLeaderboardEntry_t_111 *)w; @@ -191,7 +191,7 @@ void win_to_lin_struct_LeaderboardEntry_t_111(void *w, void *l) lin->m_cDetails = win->m_cDetails; } -void lin_to_win_struct_LeaderboardEntry_t_111(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_111(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_111 *win = (struct winLeaderboardEntry_t_111 *)w; @@ -213,7 +213,7 @@ struct winP2PSessionState_t_111 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_111(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_111(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_111 *win = (struct winP2PSessionState_t_111 *)w; @@ -227,7 +227,7 @@ void win_to_lin_struct_P2PSessionState_t_111(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_111(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_111(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_111 *win = (struct winP2PSessionState_t_111 *)w; @@ -241,49 +241,5 @@ void lin_to_win_struct_P2PSessionState_t_111(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winSteamPS3Params_t_111 { - char m_rgchInstallationPath[1055]; - char m_rgchSystemCache[1055]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamPS3Params_t_111(void *w, void *l) -{ - SteamPS3Params_t *lin = (SteamPS3Params_t *)l; - struct winSteamPS3Params_t_111 *win = (struct winSteamPS3Params_t_111 *)w; - memcpy(lin->m_rgchInstallationPath, win->m_rgchInstallationPath, sizeof(lin->m_rgchInstallationPath)); - memcpy(lin->m_rgchSystemCache, win->m_rgchSystemCache, sizeof(lin->m_rgchSystemCache)); -} - -void lin_to_win_struct_SteamPS3Params_t_111(void *l, void *w) -{ - SteamPS3Params_t *lin = (SteamPS3Params_t *)l; - struct winSteamPS3Params_t_111 *win = (struct winSteamPS3Params_t_111 *)w; - memcpy(win->m_rgchInstallationPath, lin->m_rgchInstallationPath, sizeof(win->m_rgchInstallationPath)); - memcpy(win->m_rgchSystemCache, lin->m_rgchSystemCache, sizeof(win->m_rgchSystemCache)); -} - -#pragma pack( push, 8 ) -struct winCCallbackBase_111 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_111(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_111 *win = (struct winCCallbackBase_111 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_111(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_111 *win = (struct winCCallbackBase_111 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_111.h b/lsteamclient/struct_converters_111.h index 4b8aa556..14a71f6f 100644 --- a/lsteamclient/struct_converters_111.h +++ b/lsteamclient/struct_converters_111.h @@ -1,24 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_111(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_111(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_111(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_111(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_111(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_111(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_111(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_111(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_111(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_111(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_111(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_111(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_111(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_111(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_111(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_111(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_111(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_111(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_111(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_111(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_111(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_111(void *l, void *w); - -extern void win_to_lin_struct_SteamPS3Params_t_111(void *w, void *l); -extern void lin_to_win_struct_SteamPS3Params_t_111(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_111(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_111(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_111(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_111(const void *l, void *w); diff --git a/lsteamclient/struct_converters_112.cpp b/lsteamclient/struct_converters_112.cpp index 59a08345..5d48ab88 100644 --- a/lsteamclient/struct_converters_112.cpp +++ b/lsteamclient/struct_converters_112.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_112 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_112(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_112(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_112 *win = (struct winCallbackMsg_t_112 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_112(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_112(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_112(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_112 *win = (struct winCallbackMsg_t_112 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_112 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_112(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_112(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_112 *win = (struct winFriendGameInfo_t_112 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_112(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_112(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_112(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_112 *win = (struct winFriendGameInfo_t_112 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_112 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_112(void *w, void *l) +void win_to_lin_struct_servernetadr_t_112(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_112 *win = (struct winservernetadr_t_112 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_112(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_112(void *l, void *w) +void lin_to_win_struct_servernetadr_t_112(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_112 *win = (struct winservernetadr_t_112 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_112 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_112(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_112(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_112 *win = (struct wingameserveritem_t_112 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_112(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_112(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_112(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_112 *win = (struct wingameserveritem_t_112 *)w; @@ -165,7 +165,7 @@ struct winLobbyInvite_t_16 { uint64 m_ulSteamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyInvite_t_16(void *l, void *w) +void cb_LobbyInvite_t_16(const void *l, void *w) { LobbyInvite_t *lin = (LobbyInvite_t *)l; struct winLobbyInvite_t_16 *win = (struct winLobbyInvite_t_16 *)w; @@ -182,7 +182,7 @@ struct winLeaderboardEntry_t_112 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_112(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_112(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_112 *win = (struct winLeaderboardEntry_t_112 *)w; @@ -193,7 +193,7 @@ void win_to_lin_struct_LeaderboardEntry_t_112(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_112(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_112(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_112 *win = (struct winLeaderboardEntry_t_112 *)w; @@ -216,7 +216,7 @@ struct winP2PSessionState_t_112 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_112(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_112(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_112 *win = (struct winP2PSessionState_t_112 *)w; @@ -230,7 +230,7 @@ void win_to_lin_struct_P2PSessionState_t_112(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_112(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_112(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_112 *win = (struct winP2PSessionState_t_112 *)w; @@ -244,70 +244,5 @@ void lin_to_win_struct_P2PSessionState_t_112(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winSteamPS3Params_t_112 { - void * pReserved; - AppId_t m_nAppId; - char m_rgchInstallationPath[1055]; - char m_rgchSystemCache[1055]; - char m_rgchGameData[1055]; - char m_rgchNpServiceID[32]; - unsigned int m_cSteamInputTTY; - struct Ps3netInit_t m_sysNetInitInfo; - struct Ps3jpgInit_t m_sysJpgInitInfo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamPS3Params_t_112(void *w, void *l) -{ - SteamPS3Params_t *lin = (SteamPS3Params_t *)l; - struct winSteamPS3Params_t_112 *win = (struct winSteamPS3Params_t_112 *)w; - lin->pReserved = win->pReserved; - lin->m_nAppId = win->m_nAppId; - memcpy(lin->m_rgchInstallationPath, win->m_rgchInstallationPath, sizeof(lin->m_rgchInstallationPath)); - memcpy(lin->m_rgchSystemCache, win->m_rgchSystemCache, sizeof(lin->m_rgchSystemCache)); - memcpy(lin->m_rgchGameData, win->m_rgchGameData, sizeof(lin->m_rgchGameData)); - memcpy(lin->m_rgchNpServiceID, win->m_rgchNpServiceID, sizeof(lin->m_rgchNpServiceID)); - lin->m_cSteamInputTTY = win->m_cSteamInputTTY; - lin->m_sysNetInitInfo = win->m_sysNetInitInfo; - lin->m_sysJpgInitInfo = win->m_sysJpgInitInfo; -} - -void lin_to_win_struct_SteamPS3Params_t_112(void *l, void *w) -{ - SteamPS3Params_t *lin = (SteamPS3Params_t *)l; - struct winSteamPS3Params_t_112 *win = (struct winSteamPS3Params_t_112 *)w; - win->pReserved = lin->pReserved; - win->m_nAppId = lin->m_nAppId; - memcpy(win->m_rgchInstallationPath, lin->m_rgchInstallationPath, sizeof(win->m_rgchInstallationPath)); - memcpy(win->m_rgchSystemCache, lin->m_rgchSystemCache, sizeof(win->m_rgchSystemCache)); - memcpy(win->m_rgchGameData, lin->m_rgchGameData, sizeof(win->m_rgchGameData)); - memcpy(win->m_rgchNpServiceID, lin->m_rgchNpServiceID, sizeof(win->m_rgchNpServiceID)); - win->m_cSteamInputTTY = lin->m_cSteamInputTTY; - win->m_sysNetInitInfo = lin->m_sysNetInitInfo; - win->m_sysJpgInitInfo = lin->m_sysJpgInitInfo; -} - -#pragma pack( push, 8 ) -struct winCCallbackBase_112 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_112(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_112 *win = (struct winCCallbackBase_112 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_112(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_112 *win = (struct winCCallbackBase_112 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_112.h b/lsteamclient/struct_converters_112.h index fadb61f0..b7884482 100644 --- a/lsteamclient/struct_converters_112.h +++ b/lsteamclient/struct_converters_112.h @@ -1,24 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_112(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_112(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_112(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_112(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_112(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_112(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_112(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_112(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_112(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_112(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_112(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_112(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_112(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_112(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_112(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_112(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_112(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_112(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_112(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_112(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_112(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_112(void *l, void *w); - -extern void win_to_lin_struct_SteamPS3Params_t_112(void *w, void *l); -extern void lin_to_win_struct_SteamPS3Params_t_112(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_112(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_112(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_112(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_112(const void *l, void *w); diff --git a/lsteamclient/struct_converters_113.cpp b/lsteamclient/struct_converters_113.cpp index b816111b..754c492f 100644 --- a/lsteamclient/struct_converters_113.cpp +++ b/lsteamclient/struct_converters_113.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_113 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_113(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_113(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_113 *win = (struct winCallbackMsg_t_113 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_113(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_113(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_113(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_113 *win = (struct winCallbackMsg_t_113 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_113 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_113(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_113(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_113(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_113(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_113(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_113 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_113(void *w, void *l) +void win_to_lin_struct_servernetadr_t_113(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_113 *win = (struct winservernetadr_t_113 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_113(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_113(void *l, void *w) +void lin_to_win_struct_servernetadr_t_113(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_113 *win = (struct winservernetadr_t_113 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_113 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_113(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_113(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_113 *win = (struct wingameserveritem_t_113 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_113(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_113(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_113(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_113 *win = (struct wingameserveritem_t_113 *)w; @@ -168,7 +168,7 @@ struct winLeaderboardEntry_t_113 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_113(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_113(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_113 *win = (struct winLeaderboardEntry_t_113 *)w; @@ -179,7 +179,7 @@ void win_to_lin_struct_LeaderboardEntry_t_113(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_113(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_113(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_113 *win = (struct winLeaderboardEntry_t_113 *)w; @@ -202,7 +202,7 @@ struct winP2PSessionState_t_113 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_113(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_113(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_113 *win = (struct winP2PSessionState_t_113 *)w; @@ -216,7 +216,7 @@ void win_to_lin_struct_P2PSessionState_t_113(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_113(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_113(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_113 *win = (struct winP2PSessionState_t_113 *)w; @@ -230,27 +230,5 @@ void lin_to_win_struct_P2PSessionState_t_113(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_113 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_113(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_113 *win = (struct winCCallbackBase_113 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_113(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_113 *win = (struct winCCallbackBase_113 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_113.h b/lsteamclient/struct_converters_113.h index caebffed..818d2434 100644 --- a/lsteamclient/struct_converters_113.h +++ b/lsteamclient/struct_converters_113.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_113(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_113(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_113(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_113(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_113(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_113(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_113(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_113(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_113(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_113(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_113(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_113(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_113(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_113(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_113(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_113(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_113(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_113(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_113(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_113(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_113(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_113(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_113(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_113(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_113(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_113(const void *l, void *w); diff --git a/lsteamclient/struct_converters_114.cpp b/lsteamclient/struct_converters_114.cpp index 293cc3f8..d8c5b590 100644 --- a/lsteamclient/struct_converters_114.cpp +++ b/lsteamclient/struct_converters_114.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_114 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_114(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_114(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_114 *win = (struct winCallbackMsg_t_114 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_114(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_114(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_114(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_114 *win = (struct winCallbackMsg_t_114 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_114 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_114(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_114(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_114 *win = (struct winFriendGameInfo_t_114 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_114(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_114(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_114(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_114 *win = (struct winFriendGameInfo_t_114 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_114 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_114(void *w, void *l) +void win_to_lin_struct_servernetadr_t_114(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_114 *win = (struct winservernetadr_t_114 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_114(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_114(void *l, void *w) +void lin_to_win_struct_servernetadr_t_114(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_114 *win = (struct winservernetadr_t_114 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_114 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_114(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_114(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_114 *win = (struct wingameserveritem_t_114 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_114(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_114(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_114(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_114 *win = (struct wingameserveritem_t_114 *)w; @@ -168,7 +168,7 @@ struct winLeaderboardEntry_t_114 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_114(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_114(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_114 *win = (struct winLeaderboardEntry_t_114 *)w; @@ -179,7 +179,7 @@ void win_to_lin_struct_LeaderboardEntry_t_114(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_114(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_114(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_114 *win = (struct winLeaderboardEntry_t_114 *)w; @@ -202,7 +202,7 @@ struct winP2PSessionState_t_114 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_114(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_114(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_114 *win = (struct winP2PSessionState_t_114 *)w; @@ -216,7 +216,7 @@ void win_to_lin_struct_P2PSessionState_t_114(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_114(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_114(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_114 *win = (struct winP2PSessionState_t_114 *)w; @@ -230,27 +230,5 @@ void lin_to_win_struct_P2PSessionState_t_114(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_114 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_114(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_114 *win = (struct winCCallbackBase_114 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_114(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_114 *win = (struct winCCallbackBase_114 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_114.h b/lsteamclient/struct_converters_114.h index 36951b04..8310aa80 100644 --- a/lsteamclient/struct_converters_114.h +++ b/lsteamclient/struct_converters_114.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_114(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_114(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_114(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_114(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_114(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_114(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_114(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_114(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_114(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_114(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_114(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_114(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_114(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_114(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_114(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_114(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_114(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_114(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_114(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_114(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_114(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_114(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_114(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_114(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_114(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_114(const void *l, void *w); diff --git a/lsteamclient/struct_converters_115.cpp b/lsteamclient/struct_converters_115.cpp index 81fb0b1f..e57fea5e 100644 --- a/lsteamclient/struct_converters_115.cpp +++ b/lsteamclient/struct_converters_115.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_115 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_115(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_115(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_115 *win = (struct winCallbackMsg_t_115 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_115(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_115(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_115(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_115 *win = (struct winCallbackMsg_t_115 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_115 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_115(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_115(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_115 *win = (struct winFriendGameInfo_t_115 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_115(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_115(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_115(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_115 *win = (struct winFriendGameInfo_t_115 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_115 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_115(void *w, void *l) +void win_to_lin_struct_servernetadr_t_115(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_115 *win = (struct winservernetadr_t_115 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_115(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_115(void *l, void *w) +void lin_to_win_struct_servernetadr_t_115(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_115 *win = (struct winservernetadr_t_115 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_115 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_115(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_115(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_115 *win = (struct wingameserveritem_t_115 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_115(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_115(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_115(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_115 *win = (struct wingameserveritem_t_115 *)w; @@ -168,7 +168,7 @@ struct winLeaderboardEntry_t_115 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_115(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_115(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_115 *win = (struct winLeaderboardEntry_t_115 *)w; @@ -179,7 +179,7 @@ void win_to_lin_struct_LeaderboardEntry_t_115(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_115(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_115(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_115 *win = (struct winLeaderboardEntry_t_115 *)w; @@ -202,7 +202,7 @@ struct winP2PSessionState_t_115 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_115(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_115(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_115 *win = (struct winP2PSessionState_t_115 *)w; @@ -216,7 +216,7 @@ void win_to_lin_struct_P2PSessionState_t_115(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_115(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_115(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_115 *win = (struct winP2PSessionState_t_115 *)w; @@ -230,27 +230,5 @@ void lin_to_win_struct_P2PSessionState_t_115(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_115 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_115(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_115 *win = (struct winCCallbackBase_115 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_115(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_115 *win = (struct winCCallbackBase_115 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_115.h b/lsteamclient/struct_converters_115.h index 96c405be..7e0dc9a8 100644 --- a/lsteamclient/struct_converters_115.h +++ b/lsteamclient/struct_converters_115.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_115(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_115(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_115(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_115(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_115(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_115(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_115(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_115(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_115(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_115(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_115(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_115(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_115(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_115(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_115(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_115(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_115(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_115(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_115(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_115(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_115(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_115(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_115(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_115(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_115(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_115(const void *l, void *w); diff --git a/lsteamclient/struct_converters_116.cpp b/lsteamclient/struct_converters_116.cpp index 64fb47c7..f669ac0c 100644 --- a/lsteamclient/struct_converters_116.cpp +++ b/lsteamclient/struct_converters_116.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_116 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_116(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_116(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_116(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_116(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_116(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_116 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_116(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_116(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_116(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_116(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_116(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w; @@ -70,7 +70,7 @@ struct winNameHistoryResponse_t_8 { int m_cFailedLookups; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_NameHistoryResponse_t_8(void *l, void *w) +void cb_NameHistoryResponse_t_8(const void *l, void *w) { NameHistoryResponse_t *lin = (NameHistoryResponse_t *)l; struct winNameHistoryResponse_t_8 *win = (struct winNameHistoryResponse_t_8 *)w; @@ -85,7 +85,7 @@ struct winservernetadr_t_116 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_116(void *w, void *l) +void win_to_lin_struct_servernetadr_t_116(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w; @@ -94,7 +94,7 @@ void win_to_lin_struct_servernetadr_t_116(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_116(void *l, void *w) +void lin_to_win_struct_servernetadr_t_116(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w; @@ -125,7 +125,7 @@ struct wingameserveritem_t_116 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_116(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_116(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w; @@ -149,7 +149,7 @@ void win_to_lin_struct_gameserveritem_t_116(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_116(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_116(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w; @@ -183,7 +183,7 @@ struct winRemoteStorageDownloadUGCResult_t_32 { uint64 m_ulSteamIDOwner; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_32(void *l, void *w) +void cb_RemoteStorageDownloadUGCResult_t_32(const void *l, void *w) { RemoteStorageDownloadUGCResult_t *lin = (RemoteStorageDownloadUGCResult_t *)l; struct winRemoteStorageDownloadUGCResult_t_32 *win = (struct winRemoteStorageDownloadUGCResult_t_32 *)w; @@ -204,7 +204,7 @@ struct winLeaderboardEntry_t_116 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_116(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_116(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_116 *win = (struct winLeaderboardEntry_t_116 *)w; @@ -215,7 +215,7 @@ void win_to_lin_struct_LeaderboardEntry_t_116(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_116(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_116(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_116 *win = (struct winLeaderboardEntry_t_116 *)w; @@ -238,7 +238,7 @@ struct winP2PSessionState_t_116 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_116(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_116(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w; @@ -252,7 +252,7 @@ void win_to_lin_struct_P2PSessionState_t_116(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_116(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_116(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w; @@ -266,27 +266,5 @@ void lin_to_win_struct_P2PSessionState_t_116(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_116 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_116(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_116 *win = (struct winCCallbackBase_116 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_116(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_116 *win = (struct winCCallbackBase_116 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_116.h b/lsteamclient/struct_converters_116.h index e7f68d9d..9d315d3f 100644 --- a/lsteamclient/struct_converters_116.h +++ b/lsteamclient/struct_converters_116.h @@ -1,21 +1,18 @@ -extern void win_to_lin_struct_CallbackMsg_t_116(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_116(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_116(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_116(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_116(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_116(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_116(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_116(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_116(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_116(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_116(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_116(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_116(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_116(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_116(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_116(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_116(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_116(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_116(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_116(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_116(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_116(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_116(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_116(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_116(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_116(const void *l, void *w); diff --git a/lsteamclient/struct_converters_117.cpp b/lsteamclient/struct_converters_117.cpp index 032bb17f..54394a6c 100644 --- a/lsteamclient/struct_converters_117.cpp +++ b/lsteamclient/struct_converters_117.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_117 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_117(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_117(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_117 *win = (struct winCallbackMsg_t_117 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_117(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_117(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_117(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_117 *win = (struct winCallbackMsg_t_117 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_117 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_117(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_117(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_117 *win = (struct winFriendGameInfo_t_117 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_117(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_117(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_117(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_117 *win = (struct winFriendGameInfo_t_117 *)w; @@ -71,7 +71,7 @@ struct winservernetadr_t_117 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_117(void *w, void *l) +void win_to_lin_struct_servernetadr_t_117(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_117 *win = (struct winservernetadr_t_117 *)w; @@ -80,7 +80,7 @@ void win_to_lin_struct_servernetadr_t_117(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_117(void *l, void *w) +void lin_to_win_struct_servernetadr_t_117(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_117 *win = (struct winservernetadr_t_117 *)w; @@ -111,7 +111,7 @@ struct wingameserveritem_t_117 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_117(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_117(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_117 *win = (struct wingameserveritem_t_117 *)w; @@ -135,7 +135,7 @@ void win_to_lin_struct_gameserveritem_t_117(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_117(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_117(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_117 *win = (struct wingameserveritem_t_117 *)w; @@ -165,7 +165,7 @@ struct winSteamParamStringArray_t_117 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_117(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_117(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_117 *win = (struct winSteamParamStringArray_t_117 *)w; @@ -173,7 +173,7 @@ void win_to_lin_struct_SteamParamStringArray_t_117(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_117(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_117(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_117 *win = (struct winSteamParamStringArray_t_117 *)w; @@ -198,7 +198,7 @@ struct winRemoteStorageUpdatePublishedFileRequest_t_117 { bool m_bUpdateTags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(void *w, void *l) +void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *w, void *l) { RemoteStorageUpdatePublishedFileRequest_t *lin = (RemoteStorageUpdatePublishedFileRequest_t *)l; struct winRemoteStorageUpdatePublishedFileRequest_t_117 *win = (struct winRemoteStorageUpdatePublishedFileRequest_t_117 *)w; @@ -217,7 +217,7 @@ void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(void *w, vo lin->m_bUpdateTags = win->m_bUpdateTags; } -void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(void *l, void *w) +void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *l, void *w) { RemoteStorageUpdatePublishedFileRequest_t *lin = (RemoteStorageUpdatePublishedFileRequest_t *)l; struct winRemoteStorageUpdatePublishedFileRequest_t_117 *win = (struct winRemoteStorageUpdatePublishedFileRequest_t_117 *)w; @@ -256,7 +256,7 @@ struct winRemoteStorageGetPublishedFileDetailsResult_t_1732 { char m_pchFileName[260]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_1732(void *l, void *w) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_1732(const void *l, void *w) { RemoteStorageGetPublishedFileDetailsResult_t *lin = (RemoteStorageGetPublishedFileDetailsResult_t *)l; struct winRemoteStorageGetPublishedFileDetailsResult_t_1732 *win = (struct winRemoteStorageGetPublishedFileDetailsResult_t_1732 *)w; @@ -287,7 +287,7 @@ struct winLeaderboardEntry_t_117 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_117(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_117(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_117 *win = (struct winLeaderboardEntry_t_117 *)w; @@ -298,7 +298,7 @@ void win_to_lin_struct_LeaderboardEntry_t_117(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_117(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_117(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_117 *win = (struct winLeaderboardEntry_t_117 *)w; @@ -321,7 +321,7 @@ struct winP2PSessionState_t_117 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_117(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_117(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_117 *win = (struct winP2PSessionState_t_117 *)w; @@ -335,7 +335,7 @@ void win_to_lin_struct_P2PSessionState_t_117(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_117(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_117(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_117 *win = (struct winP2PSessionState_t_117 *)w; @@ -349,27 +349,5 @@ void lin_to_win_struct_P2PSessionState_t_117(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_117 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_117(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_117 *win = (struct winCCallbackBase_117 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_117(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_117 *win = (struct winCCallbackBase_117 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_117.h b/lsteamclient/struct_converters_117.h index 2582a430..90c09f45 100644 --- a/lsteamclient/struct_converters_117.h +++ b/lsteamclient/struct_converters_117.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_117(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_117(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_117(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_117(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_117(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_117(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_117(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_117(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_117(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_117(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_117(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_117(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_117(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_117(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_117(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_117(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_117(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_117(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_117(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_117(const void *l, void *w); -extern void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(void *w, void *l); -extern void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(void *l, void *w); +extern void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *w, void *l); +extern void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_117(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_117(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_117(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_117(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_117(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_117(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_117(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_117(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_117(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_117(const void *l, void *w); diff --git a/lsteamclient/struct_converters_118.cpp b/lsteamclient/struct_converters_118.cpp index 278a525b..5a44a4f7 100644 --- a/lsteamclient/struct_converters_118.cpp +++ b/lsteamclient/struct_converters_118.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_118 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_118(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_118(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_118 *win = (struct winCallbackMsg_t_118 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_118(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_118(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_118(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_118 *win = (struct winCallbackMsg_t_118 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_118 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_118(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_118(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_118 *win = (struct winFriendGameInfo_t_118 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_118(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_118(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_118(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_118 *win = (struct winFriendGameInfo_t_118 *)w; @@ -70,7 +70,7 @@ struct winFriendSessionStateInfo_t_118 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_118(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_118(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_118 *win = (struct winFriendSessionStateInfo_t_118 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_118(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_118(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_118(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_118 *win = (struct winFriendSessionStateInfo_t_118 *)w; @@ -93,7 +93,7 @@ struct winservernetadr_t_118 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_118(void *w, void *l) +void win_to_lin_struct_servernetadr_t_118(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_118 *win = (struct winservernetadr_t_118 *)w; @@ -102,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_118(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_118(void *l, void *w) +void lin_to_win_struct_servernetadr_t_118(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_118 *win = (struct winservernetadr_t_118 *)w; @@ -133,7 +133,7 @@ struct wingameserveritem_t_118 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_118(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_118(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_118 *win = (struct wingameserveritem_t_118 *)w; @@ -157,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_118(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_118(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_118(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_118 *win = (struct wingameserveritem_t_118 *)w; @@ -187,7 +187,7 @@ struct winSteamParamStringArray_t_118 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_118(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_118(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_118 *win = (struct winSteamParamStringArray_t_118 *)w; @@ -195,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_118(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_118(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_118(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_118 *win = (struct winSteamParamStringArray_t_118 *)w; @@ -225,7 +225,7 @@ struct winRemoteStorageGetPublishedFileDetailsResult_t_9484 { int32 m_nPreviewFileSize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9484(void *l, void *w) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_9484(const void *l, void *w) { RemoteStorageGetPublishedFileDetailsResult_t *lin = (RemoteStorageGetPublishedFileDetailsResult_t *)l; struct winRemoteStorageGetPublishedFileDetailsResult_t_9484 *win = (struct winRemoteStorageGetPublishedFileDetailsResult_t_9484 *)w; @@ -258,7 +258,7 @@ struct winLeaderboardEntry_t_118 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_118(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_118(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_118 *win = (struct winLeaderboardEntry_t_118 *)w; @@ -269,7 +269,7 @@ void win_to_lin_struct_LeaderboardEntry_t_118(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_118(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_118(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_118 *win = (struct winLeaderboardEntry_t_118 *)w; @@ -292,7 +292,7 @@ struct winP2PSessionState_t_118 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_118(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_118(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_118 *win = (struct winP2PSessionState_t_118 *)w; @@ -306,7 +306,7 @@ void win_to_lin_struct_P2PSessionState_t_118(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_118(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_118(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_118 *win = (struct winP2PSessionState_t_118 *)w; @@ -320,28 +320,6 @@ void lin_to_win_struct_P2PSessionState_t_118(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_118 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_118(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_118 *win = (struct winCCallbackBase_118 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_118(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_118 *win = (struct winCCallbackBase_118 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - #pragma pack( push, 8 ) struct winComputeNewPlayerCompatibilityResult_t_16 { EResult m_eResult; @@ -350,7 +328,7 @@ struct winComputeNewPlayerCompatibilityResult_t_16 { int m_cClanPlayersThatDontLikeCandidate; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ComputeNewPlayerCompatibilityResult_t_16(void *l, void *w) +void cb_ComputeNewPlayerCompatibilityResult_t_16(const void *l, void *w) { ComputeNewPlayerCompatibilityResult_t *lin = (ComputeNewPlayerCompatibilityResult_t *)l; struct winComputeNewPlayerCompatibilityResult_t_16 *win = (struct winComputeNewPlayerCompatibilityResult_t_16 *)w; diff --git a/lsteamclient/struct_converters_118.h b/lsteamclient/struct_converters_118.h index e6f47193..ff20715e 100644 --- a/lsteamclient/struct_converters_118.h +++ b/lsteamclient/struct_converters_118.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_118(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_118(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_118(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_118(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_118(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_118(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_118(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_118(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_118(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_118(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_118(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_118(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_118(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_118(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_118(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_118(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_118(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_118(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_118(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_118(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_118(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_118(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_118(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_118(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_118(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_118(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_118(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_118(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_118(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_118(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_118(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_118(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_118(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_118(const void *l, void *w); diff --git a/lsteamclient/struct_converters_119.cpp b/lsteamclient/struct_converters_119.cpp index c3f1b164..938fb3e2 100644 --- a/lsteamclient/struct_converters_119.cpp +++ b/lsteamclient/struct_converters_119.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_119 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_119(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_119(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_119 *win = (struct winCallbackMsg_t_119 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_119(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_119(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_119(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_119 *win = (struct winCallbackMsg_t_119 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_119 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_119(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_119(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_119 *win = (struct winFriendGameInfo_t_119 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_119(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_119(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_119(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_119 *win = (struct winFriendGameInfo_t_119 *)w; @@ -70,7 +70,7 @@ struct winFriendSessionStateInfo_t_119 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_119(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_119(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_119 *win = (struct winFriendSessionStateInfo_t_119 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_119(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_119(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_119(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_119 *win = (struct winFriendSessionStateInfo_t_119 *)w; @@ -93,7 +93,7 @@ struct winservernetadr_t_119 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_119(void *w, void *l) +void win_to_lin_struct_servernetadr_t_119(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_119 *win = (struct winservernetadr_t_119 *)w; @@ -102,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_119(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_119(void *l, void *w) +void lin_to_win_struct_servernetadr_t_119(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_119 *win = (struct winservernetadr_t_119 *)w; @@ -133,7 +133,7 @@ struct wingameserveritem_t_119 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_119(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_119(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_119 *win = (struct wingameserveritem_t_119 *)w; @@ -157,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_119(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_119(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_119(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_119 *win = (struct wingameserveritem_t_119 *)w; @@ -187,7 +187,7 @@ struct winSteamParamStringArray_t_119 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_119(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_119(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_119 *win = (struct winSteamParamStringArray_t_119 *)w; @@ -195,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_119(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_119(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_119(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_119 *win = (struct winSteamParamStringArray_t_119 *)w; @@ -212,7 +212,7 @@ struct winLeaderboardEntry_t_119 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_119(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_119(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_119 *win = (struct winLeaderboardEntry_t_119 *)w; @@ -223,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_119(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_119(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_119(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_119 *win = (struct winLeaderboardEntry_t_119 *)w; @@ -246,7 +246,7 @@ struct winP2PSessionState_t_119 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_119(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_119(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_119 *win = (struct winP2PSessionState_t_119 *)w; @@ -260,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_119(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_119(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_119(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_119 *win = (struct winP2PSessionState_t_119 *)w; @@ -274,27 +274,5 @@ void lin_to_win_struct_P2PSessionState_t_119(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_119 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_119(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_119 *win = (struct winCCallbackBase_119 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_119(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_119 *win = (struct winCCallbackBase_119 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_119.h b/lsteamclient/struct_converters_119.h index 921386cc..dff0e9a7 100644 --- a/lsteamclient/struct_converters_119.h +++ b/lsteamclient/struct_converters_119.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_119(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_119(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_119(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_119(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_119(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_119(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_119(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_119(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_119(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_119(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_119(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_119(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_119(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_119(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_119(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_119(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_119(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_119(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_119(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_119(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_119(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_119(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_119(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_119(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_119(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_119(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_119(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_119(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_119(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_119(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_119(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_119(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_119(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_119(const void *l, void *w); diff --git a/lsteamclient/struct_converters_120.cpp b/lsteamclient/struct_converters_120.cpp index d5a9d221..e94dd57b 100644 --- a/lsteamclient/struct_converters_120.cpp +++ b/lsteamclient/struct_converters_120.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_120 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_120(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_120(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_120 *win = (struct winCallbackMsg_t_120 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_120(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_120(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_120(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_120 *win = (struct winCallbackMsg_t_120 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_120 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_120(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_120(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_120 *win = (struct winFriendGameInfo_t_120 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_120(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_120(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_120(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_120 *win = (struct winFriendGameInfo_t_120 *)w; @@ -70,7 +70,7 @@ struct winFriendSessionStateInfo_t_120 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_120(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_120(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_120 *win = (struct winFriendSessionStateInfo_t_120 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_120(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_120(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_120(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_120 *win = (struct winFriendSessionStateInfo_t_120 *)w; @@ -93,7 +93,7 @@ struct winservernetadr_t_120 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_120(void *w, void *l) +void win_to_lin_struct_servernetadr_t_120(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_120 *win = (struct winservernetadr_t_120 *)w; @@ -102,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_120(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_120(void *l, void *w) +void lin_to_win_struct_servernetadr_t_120(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_120 *win = (struct winservernetadr_t_120 *)w; @@ -133,7 +133,7 @@ struct wingameserveritem_t_120 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_120(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_120(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_120 *win = (struct wingameserveritem_t_120 *)w; @@ -157,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_120(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_120(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_120(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_120 *win = (struct wingameserveritem_t_120 *)w; @@ -187,7 +187,7 @@ struct winSteamParamStringArray_t_120 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_120(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_120(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_120 *win = (struct winSteamParamStringArray_t_120 *)w; @@ -195,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_120(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_120(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_120(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_120 *win = (struct winSteamParamStringArray_t_120 *)w; @@ -212,7 +212,7 @@ struct winLeaderboardEntry_t_120 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_120(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_120(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_120 *win = (struct winLeaderboardEntry_t_120 *)w; @@ -223,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_120(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_120(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_120(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_120 *win = (struct winLeaderboardEntry_t_120 *)w; @@ -246,7 +246,7 @@ struct winP2PSessionState_t_120 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_120(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_120(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_120 *win = (struct winP2PSessionState_t_120 *)w; @@ -260,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_120(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_120(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_120(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_120 *win = (struct winP2PSessionState_t_120 *)w; @@ -274,27 +274,5 @@ void lin_to_win_struct_P2PSessionState_t_120(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_120 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_120(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_120 *win = (struct winCCallbackBase_120 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_120(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_120 *win = (struct winCCallbackBase_120 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_120.h b/lsteamclient/struct_converters_120.h index a74410ce..fa6d9de3 100644 --- a/lsteamclient/struct_converters_120.h +++ b/lsteamclient/struct_converters_120.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_120(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_120(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_120(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_120(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_120(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_120(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_120(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_120(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_120(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_120(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_120(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_120(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_120(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_120(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_120(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_120(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_120(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_120(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_120(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_120(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_120(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_120(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_120(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_120(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_120(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_120(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_120(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_120(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_120(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_120(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_120(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_120(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_120(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_120(const void *l, void *w); diff --git a/lsteamclient/struct_converters_121.cpp b/lsteamclient/struct_converters_121.cpp index 6572324c..a1c5cba0 100644 --- a/lsteamclient/struct_converters_121.cpp +++ b/lsteamclient/struct_converters_121.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_121 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_121(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_121(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_121 *win = (struct winCallbackMsg_t_121 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_121(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_121(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_121(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_121 *win = (struct winCallbackMsg_t_121 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_121 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_121(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_121(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_121 *win = (struct winFriendGameInfo_t_121 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_121(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_121(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_121(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_121 *win = (struct winFriendGameInfo_t_121 *)w; @@ -70,7 +70,7 @@ struct winFriendSessionStateInfo_t_121 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_121(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_121(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_121 *win = (struct winFriendSessionStateInfo_t_121 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_121(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_121(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_121(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_121 *win = (struct winFriendSessionStateInfo_t_121 *)w; @@ -93,7 +93,7 @@ struct winservernetadr_t_121 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_121(void *w, void *l) +void win_to_lin_struct_servernetadr_t_121(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_121 *win = (struct winservernetadr_t_121 *)w; @@ -102,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_121(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_121(void *l, void *w) +void lin_to_win_struct_servernetadr_t_121(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_121 *win = (struct winservernetadr_t_121 *)w; @@ -133,7 +133,7 @@ struct wingameserveritem_t_121 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_121(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_121(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_121 *win = (struct wingameserveritem_t_121 *)w; @@ -157,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_121(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_121(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_121(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_121 *win = (struct wingameserveritem_t_121 *)w; @@ -187,7 +187,7 @@ struct winSteamParamStringArray_t_121 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_121(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_121(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_121 *win = (struct winSteamParamStringArray_t_121 *)w; @@ -195,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_121(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_121(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_121(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_121 *win = (struct winSteamParamStringArray_t_121 *)w; @@ -212,7 +212,7 @@ struct winLeaderboardEntry_t_121 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_121(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_121(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_121 *win = (struct winLeaderboardEntry_t_121 *)w; @@ -223,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_121(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_121(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_121(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_121 *win = (struct winLeaderboardEntry_t_121 *)w; @@ -246,7 +246,7 @@ struct winP2PSessionState_t_121 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_121(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_121(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_121 *win = (struct winP2PSessionState_t_121 *)w; @@ -260,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_121(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_121(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_121(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_121 *win = (struct winP2PSessionState_t_121 *)w; @@ -274,27 +274,5 @@ void lin_to_win_struct_P2PSessionState_t_121(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_121 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_121(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_121 *win = (struct winCCallbackBase_121 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_121(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_121 *win = (struct winCCallbackBase_121 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_121.h b/lsteamclient/struct_converters_121.h index f0fe68ae..7ede79b3 100644 --- a/lsteamclient/struct_converters_121.h +++ b/lsteamclient/struct_converters_121.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_121(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_121(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_121(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_121(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_121(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_121(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_121(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_121(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_121(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_121(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_121(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_121(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_121(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_121(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_121(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_121(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_121(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_121(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_121(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_121(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_121(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_121(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_121(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_121(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_121(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_121(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_121(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_121(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_121(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_121(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_121(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_121(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_121(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_121(const void *l, void *w); diff --git a/lsteamclient/struct_converters_122.cpp b/lsteamclient/struct_converters_122.cpp index f6eb73e6..419aecd0 100644 --- a/lsteamclient/struct_converters_122.cpp +++ b/lsteamclient/struct_converters_122.cpp @@ -13,7 +13,7 @@ struct winCallbackMsg_t_122 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_122(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_122(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_122 *win = (struct winCallbackMsg_t_122 *)w; @@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_122(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_122(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_122(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_122 *win = (struct winCallbackMsg_t_122 *)w; @@ -42,7 +42,7 @@ struct winFriendGameInfo_t_122 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_122(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_122(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_122 *win = (struct winFriendGameInfo_t_122 *)w; @@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_122(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_122(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_122(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_122 *win = (struct winFriendGameInfo_t_122 *)w; @@ -70,7 +70,7 @@ struct winFriendSessionStateInfo_t_122 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_122(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_122(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_122 *win = (struct winFriendSessionStateInfo_t_122 *)w; @@ -78,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_122(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_122(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_122(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_122 *win = (struct winFriendSessionStateInfo_t_122 *)w; @@ -93,7 +93,7 @@ struct winservernetadr_t_122 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_122(void *w, void *l) +void win_to_lin_struct_servernetadr_t_122(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_122 *win = (struct winservernetadr_t_122 *)w; @@ -102,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_122(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_122(void *l, void *w) +void lin_to_win_struct_servernetadr_t_122(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_122 *win = (struct winservernetadr_t_122 *)w; @@ -133,7 +133,7 @@ struct wingameserveritem_t_122 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_122(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_122(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_122 *win = (struct wingameserveritem_t_122 *)w; @@ -157,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_122(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_122(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_122(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_122 *win = (struct wingameserveritem_t_122 *)w; @@ -187,7 +187,7 @@ struct winSteamParamStringArray_t_122 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_122(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_122(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_122 *win = (struct winSteamParamStringArray_t_122 *)w; @@ -195,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_122(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_122(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_122(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_122 *win = (struct winSteamParamStringArray_t_122 *)w; @@ -208,7 +208,7 @@ struct winRemoteStorageSubscribePublishedFileResult_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageSubscribePublishedFileResult_t_4(void *l, void *w) +void cb_RemoteStorageSubscribePublishedFileResult_t_4(const void *l, void *w) { RemoteStorageSubscribePublishedFileResult_t *lin = (RemoteStorageSubscribePublishedFileResult_t *)l; struct winRemoteStorageSubscribePublishedFileResult_t_4 *win = (struct winRemoteStorageSubscribePublishedFileResult_t_4 *)w; @@ -220,7 +220,7 @@ struct winRemoteStorageUnsubscribePublishedFileResult_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUnsubscribePublishedFileResult_t_4(void *l, void *w) +void cb_RemoteStorageUnsubscribePublishedFileResult_t_4(const void *l, void *w) { RemoteStorageUnsubscribePublishedFileResult_t *lin = (RemoteStorageUnsubscribePublishedFileResult_t *)l; struct winRemoteStorageUnsubscribePublishedFileResult_t_4 *win = (struct winRemoteStorageUnsubscribePublishedFileResult_t_4 *)w; @@ -236,7 +236,7 @@ struct winLeaderboardEntry_t_122 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_122(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_122(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_122 *win = (struct winLeaderboardEntry_t_122 *)w; @@ -247,7 +247,7 @@ void win_to_lin_struct_LeaderboardEntry_t_122(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_122(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_122(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_122 *win = (struct winLeaderboardEntry_t_122 *)w; @@ -270,7 +270,7 @@ struct winP2PSessionState_t_122 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_122(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_122(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_122 *win = (struct winP2PSessionState_t_122 *)w; @@ -284,7 +284,7 @@ void win_to_lin_struct_P2PSessionState_t_122(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_122(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_122(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_122 *win = (struct winP2PSessionState_t_122 *)w; @@ -298,27 +298,5 @@ void lin_to_win_struct_P2PSessionState_t_122(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_122 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_122(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_122 *win = (struct winCCallbackBase_122 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_122(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_122 *win = (struct winCCallbackBase_122 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - } diff --git a/lsteamclient/struct_converters_122.h b/lsteamclient/struct_converters_122.h index 127b7d9a..6c4fdad0 100644 --- a/lsteamclient/struct_converters_122.h +++ b/lsteamclient/struct_converters_122.h @@ -1,27 +1,24 @@ -extern void win_to_lin_struct_CallbackMsg_t_122(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_122(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_122(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_122(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_122(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_122(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_122(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_122(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_122(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_122(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_122(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_122(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_122(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_122(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_122(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_122(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_122(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_122(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_122(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_122(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_122(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_122(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_122(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_122(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_122(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_122(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_122(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_122(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_122(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_122(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_122(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_122(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_122(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_122(const void *l, void *w); diff --git a/lsteamclient/struct_converters_123.cpp b/lsteamclient/struct_converters_123.cpp index a86475c8..b9a910a7 100644 --- a/lsteamclient/struct_converters_123.cpp +++ b/lsteamclient/struct_converters_123.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_123/isteamgameserverstats.h" #include "steamworks_sdk_123/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_123 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123(void *w, void *l) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123(void *l, void *w) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_123 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_123 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_123(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_123(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_123 *win = (struct winCallbackMsg_t_123 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_123(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_123(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_123(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_123 *win = (struct winCallbackMsg_t_123 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_123 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_123(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_123(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_123 *win = (struct winFriendGameInfo_t_123 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_123(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_123(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_123(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_123 *win = (struct winFriendGameInfo_t_123 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_123 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_123(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_123(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_123 *win = (struct winFriendSessionStateInfo_t_123 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_123(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_123(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_123(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_123 *win = (struct winFriendSessionStateInfo_t_123 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_123 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_123(void *w, void *l) +void win_to_lin_struct_servernetadr_t_123(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_123 *win = (struct winservernetadr_t_123 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_123(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_123(void *l, void *w) +void lin_to_win_struct_servernetadr_t_123(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_123 *win = (struct winservernetadr_t_123 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_123 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_123(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_123(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_123 *win = (struct wingameserveritem_t_123 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_123(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_123(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_123(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_123 *win = (struct wingameserveritem_t_123 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_123 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_123(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_123(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_123 *win = (struct winSteamParamStringArray_t_123 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_123(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_123(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_123(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_123 *win = (struct winSteamParamStringArray_t_123 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_123 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_123(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_123(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_123 *win = (struct winLeaderboardEntry_t_123 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_123(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_123(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_123(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_123 *win = (struct winLeaderboardEntry_t_123 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_123 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_123(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_123(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_123 *win = (struct winP2PSessionState_t_123 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_123(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_123(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_123(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_123 *win = (struct winP2PSessionState_t_123 *)w; @@ -302,111 +274,5 @@ void lin_to_win_struct_P2PSessionState_t_123(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_123 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_123(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_123 *win = (struct winCCallbackBase_123 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_123(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_123 *win = (struct winCCallbackBase_123 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_123 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123(void *w, void *l) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123(void *l, void *w) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_123 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123(void *w, void *l) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123(void *l, void *w) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_123 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123(void *w, void *l) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123(void *l, void *w) -{ - *lin = ( *)l; - struct win_123 *win = (struct win_123 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_123.h b/lsteamclient/struct_converters_123.h index 6a74b3f7..c26c9dc7 100644 --- a/lsteamclient/struct_converters_123.h +++ b/lsteamclient/struct_converters_123.h @@ -1,39 +1,24 @@ -extern void win_to_lin_struct__123(void *w, void *l); -extern void lin_to_win_struct__123(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_123(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_123(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_123(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_123(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_123(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_123(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_123(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_123(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_123(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_123(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_123(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_123(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_123(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_123(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_123(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_123(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_123(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_123(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_123(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_123(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_123(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_123(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_123(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_123(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_123(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_123(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_123(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_123(void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_123(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_123(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_123(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_123(void *l, void *w); - -extern void win_to_lin_struct__123(void *w, void *l); -extern void lin_to_win_struct__123(void *l, void *w); - -extern void win_to_lin_struct__123(void *w, void *l); -extern void lin_to_win_struct__123(void *l, void *w); - -extern void win_to_lin_struct__123(void *w, void *l); -extern void lin_to_win_struct__123(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_123(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_123(const void *l, void *w); diff --git a/lsteamclient/struct_converters_123a.cpp b/lsteamclient/struct_converters_123a.cpp index 12f6ea6d..5940e70e 100644 --- a/lsteamclient/struct_converters_123a.cpp +++ b/lsteamclient/struct_converters_123a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_123a/isteamgameserverstats.h" #include "steamworks_sdk_123a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_123a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123a(void *w, void *l) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123a(void *l, void *w) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_123a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_123a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_123a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_123a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_123a *win = (struct winCallbackMsg_t_123a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_123a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_123a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_123a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_123a *win = (struct winCallbackMsg_t_123a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_123a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_123a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_123a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_123a *win = (struct winFriendGameInfo_t_123a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_123a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_123a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_123a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_123a *win = (struct winFriendGameInfo_t_123a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_123a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_123a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_123a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_123a *win = (struct winFriendSessionStateInfo_t_123a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_123a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_123a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_123a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_123a *win = (struct winFriendSessionStateInfo_t_123a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_123a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_123a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_123a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_123a *win = (struct winservernetadr_t_123a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_123a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_123a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_123a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_123a *win = (struct winservernetadr_t_123a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_123a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_123a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_123a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_123a *win = (struct wingameserveritem_t_123a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_123a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_123a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_123a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_123a *win = (struct wingameserveritem_t_123a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_123a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_123a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_123a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_123a *win = (struct winSteamParamStringArray_t_123a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_123a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_123a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_123a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_123a *win = (struct winSteamParamStringArray_t_123a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_123a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_123a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_123a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_123a *win = (struct winLeaderboardEntry_t_123a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_123a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_123a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_123a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_123a *win = (struct winLeaderboardEntry_t_123a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_123a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_123a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_123a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_123a *win = (struct winP2PSessionState_t_123a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_123a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_123a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_123a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_123a *win = (struct winP2PSessionState_t_123a *)w; @@ -302,111 +274,5 @@ void lin_to_win_struct_P2PSessionState_t_123a(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_123a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_123a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_123a *win = (struct winCCallbackBase_123a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_123a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_123a *win = (struct winCCallbackBase_123a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_123a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123a(void *w, void *l) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123a(void *l, void *w) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_123a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123a(void *w, void *l) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123a(void *l, void *w) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_123a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__123a(void *w, void *l) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__123a(void *l, void *w) -{ - *lin = ( *)l; - struct win_123a *win = (struct win_123a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_123a.h b/lsteamclient/struct_converters_123a.h index aad37a0b..e441e4db 100644 --- a/lsteamclient/struct_converters_123a.h +++ b/lsteamclient/struct_converters_123a.h @@ -1,39 +1,24 @@ -extern void win_to_lin_struct__123a(void *w, void *l); -extern void lin_to_win_struct__123a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_123a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_123a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_123a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_123a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_123a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_123a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_123a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_123a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_123a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_123a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_123a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_123a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_123a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_123a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_123a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_123a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_123a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_123a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_123a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_123a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_123a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_123a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_123a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_123a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_123a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_123a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_123a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_123a(void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_123a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_123a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_123a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_123a(void *l, void *w); - -extern void win_to_lin_struct__123a(void *w, void *l); -extern void lin_to_win_struct__123a(void *l, void *w); - -extern void win_to_lin_struct__123a(void *w, void *l); -extern void lin_to_win_struct__123a(void *l, void *w); - -extern void win_to_lin_struct__123a(void *w, void *l); -extern void lin_to_win_struct__123a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_123a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_123a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_124.cpp b/lsteamclient/struct_converters_124.cpp index c726ee73..e41e681a 100644 --- a/lsteamclient/struct_converters_124.cpp +++ b/lsteamclient/struct_converters_124.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_124/isteamgameserverstats.h" #include "steamworks_sdk_124/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_124 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__124(void *w, void *l) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__124(void *l, void *w) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_124 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_124 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_124(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_124(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_124 *win = (struct winCallbackMsg_t_124 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_124(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_124(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_124(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_124 *win = (struct winCallbackMsg_t_124 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_124 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_124(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_124(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_124 *win = (struct winFriendGameInfo_t_124 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_124(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_124(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_124(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_124 *win = (struct winFriendGameInfo_t_124 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_124 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_124(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_124(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_124 *win = (struct winFriendSessionStateInfo_t_124 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_124(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_124(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_124(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_124 *win = (struct winFriendSessionStateInfo_t_124 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_124 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_124(void *w, void *l) +void win_to_lin_struct_servernetadr_t_124(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_124 *win = (struct winservernetadr_t_124 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_124(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_124(void *l, void *w) +void lin_to_win_struct_servernetadr_t_124(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_124 *win = (struct winservernetadr_t_124 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_124 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_124(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_124(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_124 *win = (struct wingameserveritem_t_124 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_124(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_124(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_124(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_124 *win = (struct wingameserveritem_t_124 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_124 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_124(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_124(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_124 *win = (struct winSteamParamStringArray_t_124 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_124(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_124(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_124(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_124 *win = (struct winSteamParamStringArray_t_124 *)w; @@ -237,7 +209,7 @@ struct winRemoteStoragePublishFileResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_12(void *l, void *w) +void cb_RemoteStoragePublishFileResult_t_12(const void *l, void *w) { RemoteStoragePublishFileResult_t *lin = (RemoteStoragePublishFileResult_t *)l; struct winRemoteStoragePublishFileResult_t_12 *win = (struct winRemoteStoragePublishFileResult_t_12 *)w; @@ -251,7 +223,7 @@ struct winRemoteStorageUpdatePublishedFileResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_12(void *l, void *w) +void cb_RemoteStorageUpdatePublishedFileResult_t_12(const void *l, void *w) { RemoteStorageUpdatePublishedFileResult_t *lin = (RemoteStorageUpdatePublishedFileResult_t *)l; struct winRemoteStorageUpdatePublishedFileResult_t_12 *win = (struct winRemoteStorageUpdatePublishedFileResult_t_12 *)w; @@ -268,7 +240,7 @@ struct winRemoteStorageEnumerateWorkshopFilesResult_t_612 { float m_rgScore[50]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_612(void *l, void *w) +void cb_RemoteStorageEnumerateWorkshopFilesResult_t_612(const void *l, void *w) { RemoteStorageEnumerateWorkshopFilesResult_t *lin = (RemoteStorageEnumerateWorkshopFilesResult_t *)l; struct winRemoteStorageEnumerateWorkshopFilesResult_t_612 *win = (struct winRemoteStorageEnumerateWorkshopFilesResult_t_612 *)w; @@ -288,7 +260,7 @@ struct winLeaderboardEntry_t_124 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_124(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_124(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_124 *win = (struct winLeaderboardEntry_t_124 *)w; @@ -299,7 +271,7 @@ void win_to_lin_struct_LeaderboardEntry_t_124(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_124(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_124(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_124 *win = (struct winLeaderboardEntry_t_124 *)w; @@ -322,7 +294,7 @@ struct winP2PSessionState_t_124 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_124(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_124(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_124 *win = (struct winP2PSessionState_t_124 *)w; @@ -336,7 +308,7 @@ void win_to_lin_struct_P2PSessionState_t_124(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_124(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_124(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_124 *win = (struct winP2PSessionState_t_124 *)w; @@ -350,111 +322,5 @@ void lin_to_win_struct_P2PSessionState_t_124(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_124 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_124(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_124 *win = (struct winCCallbackBase_124 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_124(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_124 *win = (struct winCCallbackBase_124 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_124 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__124(void *w, void *l) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__124(void *l, void *w) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_124 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__124(void *w, void *l) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__124(void *l, void *w) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_124 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__124(void *w, void *l) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__124(void *l, void *w) -{ - *lin = ( *)l; - struct win_124 *win = (struct win_124 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_124.h b/lsteamclient/struct_converters_124.h index aa6b36c9..ad4d31d1 100644 --- a/lsteamclient/struct_converters_124.h +++ b/lsteamclient/struct_converters_124.h @@ -1,39 +1,24 @@ -extern void win_to_lin_struct__124(void *w, void *l); -extern void lin_to_win_struct__124(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_124(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_124(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_124(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_124(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_124(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_124(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_124(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_124(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_124(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_124(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_124(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_124(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_124(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_124(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_124(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_124(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_124(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_124(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_124(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_124(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_124(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_124(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_124(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_124(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_124(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_124(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_124(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_124(void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_124(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_124(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_124(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_124(void *l, void *w); - -extern void win_to_lin_struct__124(void *w, void *l); -extern void lin_to_win_struct__124(void *l, void *w); - -extern void win_to_lin_struct__124(void *w, void *l); -extern void lin_to_win_struct__124(void *l, void *w); - -extern void win_to_lin_struct__124(void *w, void *l); -extern void lin_to_win_struct__124(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_124(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_124(const void *l, void *w); diff --git a/lsteamclient/struct_converters_125.cpp b/lsteamclient/struct_converters_125.cpp index 01a12729..a0fac882 100644 --- a/lsteamclient/struct_converters_125.cpp +++ b/lsteamclient/struct_converters_125.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_125/isteamgameserverstats.h" #include "steamworks_sdk_125/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_125 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__125(void *w, void *l) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__125(void *l, void *w) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_125 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_125 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_125(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_125(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_125 *win = (struct winCallbackMsg_t_125 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_125(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_125(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_125(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_125 *win = (struct winCallbackMsg_t_125 *)w; @@ -67,7 +39,7 @@ struct winValidateAuthTicketResponse_t_12 { EAuthSessionResponse m_eAuthSessionResponse; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ValidateAuthTicketResponse_t_12(void *l, void *w) +void cb_ValidateAuthTicketResponse_t_12(const void *l, void *w) { ValidateAuthTicketResponse_t *lin = (ValidateAuthTicketResponse_t *)l; struct winValidateAuthTicketResponse_t_12 *win = (struct winValidateAuthTicketResponse_t_12 *)w; @@ -84,7 +56,7 @@ struct winFriendGameInfo_t_125 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_125(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_125(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_125 *win = (struct winFriendGameInfo_t_125 *)w; @@ -95,7 +67,7 @@ void win_to_lin_struct_FriendGameInfo_t_125(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_125(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_125(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_125 *win = (struct winFriendGameInfo_t_125 *)w; @@ -112,7 +84,7 @@ struct winFriendSessionStateInfo_t_125 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_125(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_125(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_125 *win = (struct winFriendSessionStateInfo_t_125 *)w; @@ -120,7 +92,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_125(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_125(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_125(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_125 *win = (struct winFriendSessionStateInfo_t_125 *)w; @@ -135,7 +107,7 @@ struct winservernetadr_t_125 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_125(void *w, void *l) +void win_to_lin_struct_servernetadr_t_125(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_125 *win = (struct winservernetadr_t_125 *)w; @@ -144,7 +116,7 @@ void win_to_lin_struct_servernetadr_t_125(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_125(void *l, void *w) +void lin_to_win_struct_servernetadr_t_125(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_125 *win = (struct winservernetadr_t_125 *)w; @@ -175,7 +147,7 @@ struct wingameserveritem_t_125 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_125(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_125(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_125 *win = (struct wingameserveritem_t_125 *)w; @@ -199,7 +171,7 @@ void win_to_lin_struct_gameserveritem_t_125(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_125(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_125(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_125 *win = (struct wingameserveritem_t_125 *)w; @@ -229,7 +201,7 @@ struct winSteamParamStringArray_t_125 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_125(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_125(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_125 *win = (struct winSteamParamStringArray_t_125 *)w; @@ -237,7 +209,7 @@ void win_to_lin_struct_SteamParamStringArray_t_125(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_125(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_125(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_125 *win = (struct winSteamParamStringArray_t_125 *)w; @@ -269,7 +241,7 @@ struct winRemoteStorageGetPublishedFileDetailsResult_t_9744 { EWorkshopFileType m_eFileType; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9744(void *l, void *w) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_9744(const void *l, void *w) { RemoteStorageGetPublishedFileDetailsResult_t *lin = (RemoteStorageGetPublishedFileDetailsResult_t *)l; struct winRemoteStorageGetPublishedFileDetailsResult_t_9744 *win = (struct winRemoteStorageGetPublishedFileDetailsResult_t_9744 *)w; @@ -304,7 +276,7 @@ struct winLeaderboardEntry_t_125 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_125(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_125(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_125 *win = (struct winLeaderboardEntry_t_125 *)w; @@ -315,7 +287,7 @@ void win_to_lin_struct_LeaderboardEntry_t_125(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_125(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_125(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_125 *win = (struct winLeaderboardEntry_t_125 *)w; @@ -338,7 +310,7 @@ struct winP2PSessionState_t_125 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_125(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_125(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_125 *win = (struct winP2PSessionState_t_125 *)w; @@ -352,7 +324,7 @@ void win_to_lin_struct_P2PSessionState_t_125(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_125(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_125(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_125 *win = (struct winP2PSessionState_t_125 *)w; @@ -366,123 +338,17 @@ void lin_to_win_struct_P2PSessionState_t_125(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct winCCallbackBase_125 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_125(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_125 *win = (struct winCCallbackBase_125 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_125(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_125 *win = (struct winCCallbackBase_125 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_125 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__125(void *w, void *l) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__125(void *l, void *w) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winGSClientApprove_t_8 { CSteamID m_SteamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientApprove_t_8(void *l, void *w) +void cb_GSClientApprove_t_8(const void *l, void *w) { GSClientApprove_t *lin = (GSClientApprove_t *)l; struct winGSClientApprove_t_8 *win = (struct winGSClientApprove_t_8 *)w; win->m_SteamID = lin->m_SteamID; } -#pragma pack( push, 8 ) -struct win_125 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__125(void *w, void *l) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__125(void *l, void *w) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_125 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__125(void *w, void *l) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__125(void *l, void *w) -{ - *lin = ( *)l; - struct win_125 *win = (struct win_125 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_125.h b/lsteamclient/struct_converters_125.h index b2d1e6d3..6f98f5d1 100644 --- a/lsteamclient/struct_converters_125.h +++ b/lsteamclient/struct_converters_125.h @@ -1,39 +1,24 @@ -extern void win_to_lin_struct__125(void *w, void *l); -extern void lin_to_win_struct__125(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_125(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_125(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_125(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_125(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_125(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_125(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_125(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_125(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_125(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_125(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_125(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_125(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_125(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_125(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_125(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_125(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_125(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_125(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_125(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_125(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_125(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_125(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_125(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_125(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_125(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_125(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_125(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_125(void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_125(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_125(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_125(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_125(void *l, void *w); - -extern void win_to_lin_struct__125(void *w, void *l); -extern void lin_to_win_struct__125(void *l, void *w); - -extern void win_to_lin_struct__125(void *w, void *l); -extern void lin_to_win_struct__125(void *l, void *w); - -extern void win_to_lin_struct__125(void *w, void *l); -extern void lin_to_win_struct__125(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_125(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_125(const void *l, void *w); diff --git a/lsteamclient/struct_converters_126.cpp b/lsteamclient/struct_converters_126.cpp index b9982ceb..46aafd72 100644 --- a/lsteamclient/struct_converters_126.cpp +++ b/lsteamclient/struct_converters_126.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_126/isteamgameserverstats.h" #include "steamworks_sdk_126/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_126 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126(void *w, void *l) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126(void *l, void *w) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_126 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_126 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_126(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_126(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_126 *win = (struct winCallbackMsg_t_126 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_126(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_126(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_126(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_126 *win = (struct winCallbackMsg_t_126 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_126 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_126(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_126(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_126 *win = (struct winFriendGameInfo_t_126 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_126(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_126(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_126(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_126 *win = (struct winFriendGameInfo_t_126 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_126 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_126(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_126(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_126 *win = (struct winFriendSessionStateInfo_t_126 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_126(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_126(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_126(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_126 *win = (struct winFriendSessionStateInfo_t_126 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_126 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_126(void *w, void *l) +void win_to_lin_struct_servernetadr_t_126(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_126 *win = (struct winservernetadr_t_126 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_126(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_126(void *l, void *w) +void lin_to_win_struct_servernetadr_t_126(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_126 *win = (struct winservernetadr_t_126 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_126 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_126(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_126(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_126 *win = (struct wingameserveritem_t_126 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_126(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_126(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_126(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_126 *win = (struct wingameserveritem_t_126 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_126 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_126(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_126(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_126 *win = (struct winSteamParamStringArray_t_126 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_126(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_126(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_126(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_126 *win = (struct winSteamParamStringArray_t_126 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_126 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_126(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_126(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_126 *win = (struct winLeaderboardEntry_t_126 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_126(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_126(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_126(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_126 *win = (struct winLeaderboardEntry_t_126 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_126 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_126(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_126(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_126 *win = (struct winP2PSessionState_t_126 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_126(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_126(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_126(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_126 *win = (struct winP2PSessionState_t_126 *)w; @@ -331,7 +303,7 @@ struct winSteamUGCDetails_t_126 { float m_flScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_126(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_126(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_126 *win = (struct winSteamUGCDetails_t_126 *)w; @@ -362,7 +334,7 @@ void win_to_lin_struct_SteamUGCDetails_t_126(void *w, void *l) lin->m_flScore = win->m_flScore; } -void lin_to_win_struct_SteamUGCDetails_t_126(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_126(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_126 *win = (struct winSteamUGCDetails_t_126 *)w; @@ -393,111 +365,5 @@ void lin_to_win_struct_SteamUGCDetails_t_126(void *l, void *w) win->m_flScore = lin->m_flScore; } -#pragma pack( push, 8 ) -struct winCCallbackBase_126 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_126(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_126 *win = (struct winCCallbackBase_126 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_126(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_126 *win = (struct winCCallbackBase_126 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_126 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126(void *w, void *l) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126(void *l, void *w) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_126 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126(void *w, void *l) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126(void *l, void *w) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_126 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126(void *w, void *l) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126(void *l, void *w) -{ - *lin = ( *)l; - struct win_126 *win = (struct win_126 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_126.h b/lsteamclient/struct_converters_126.h index 36efc498..ed2e7e00 100644 --- a/lsteamclient/struct_converters_126.h +++ b/lsteamclient/struct_converters_126.h @@ -1,42 +1,27 @@ -extern void win_to_lin_struct__126(void *w, void *l); -extern void lin_to_win_struct__126(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_126(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_126(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_126(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_126(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_126(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_126(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_126(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_126(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_126(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_126(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_126(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_126(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_126(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_126(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_126(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_126(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_126(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_126(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_126(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_126(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_126(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_126(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_126(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_126(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_126(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_126(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_126(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_126(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_126(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_126(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_126(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_126(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_126(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_126(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_126(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_126(void *l, void *w); - -extern void win_to_lin_struct__126(void *w, void *l); -extern void lin_to_win_struct__126(void *l, void *w); - -extern void win_to_lin_struct__126(void *w, void *l); -extern void lin_to_win_struct__126(void *l, void *w); - -extern void win_to_lin_struct__126(void *w, void *l); -extern void lin_to_win_struct__126(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_126(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_126(const void *l, void *w); diff --git a/lsteamclient/struct_converters_126a.cpp b/lsteamclient/struct_converters_126a.cpp index 08bf7156..b619454b 100644 --- a/lsteamclient/struct_converters_126a.cpp +++ b/lsteamclient/struct_converters_126a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_126a/isteamgameserverstats.h" #include "steamworks_sdk_126a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_126a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126a(void *w, void *l) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126a(void *l, void *w) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_126a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_126a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_126a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_126a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_126a *win = (struct winCallbackMsg_t_126a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_126a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_126a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_126a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_126a *win = (struct winCallbackMsg_t_126a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_126a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_126a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_126a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_126a *win = (struct winFriendGameInfo_t_126a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_126a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_126a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_126a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_126a *win = (struct winFriendGameInfo_t_126a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_126a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_126a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_126a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_126a *win = (struct winFriendSessionStateInfo_t_126a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_126a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_126a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_126a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_126a *win = (struct winFriendSessionStateInfo_t_126a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_126a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_126a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_126a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_126a *win = (struct winservernetadr_t_126a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_126a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_126a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_126a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_126a *win = (struct winservernetadr_t_126a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_126a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_126a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_126a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_126a *win = (struct wingameserveritem_t_126a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_126a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_126a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_126a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_126a *win = (struct wingameserveritem_t_126a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_126a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_126a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_126a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_126a *win = (struct winSteamParamStringArray_t_126a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_126a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_126a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_126a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_126a *win = (struct winSteamParamStringArray_t_126a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_126a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_126a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_126a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_126a *win = (struct winLeaderboardEntry_t_126a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_126a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_126a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_126a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_126a *win = (struct winLeaderboardEntry_t_126a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_126a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_126a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_126a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_126a *win = (struct winP2PSessionState_t_126a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_126a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_126a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_126a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_126a *win = (struct winP2PSessionState_t_126a *)w; @@ -331,7 +303,7 @@ struct winSteamUGCDetails_t_126a { float m_flScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_126a(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_126a(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_126a *win = (struct winSteamUGCDetails_t_126a *)w; @@ -362,7 +334,7 @@ void win_to_lin_struct_SteamUGCDetails_t_126a(void *w, void *l) lin->m_flScore = win->m_flScore; } -void lin_to_win_struct_SteamUGCDetails_t_126a(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_126a(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_126a *win = (struct winSteamUGCDetails_t_126a *)w; @@ -393,111 +365,5 @@ void lin_to_win_struct_SteamUGCDetails_t_126a(void *l, void *w) win->m_flScore = lin->m_flScore; } -#pragma pack( push, 8 ) -struct winCCallbackBase_126a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_126a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_126a *win = (struct winCCallbackBase_126a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_126a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_126a *win = (struct winCCallbackBase_126a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_126a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126a(void *w, void *l) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126a(void *l, void *w) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_126a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126a(void *w, void *l) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126a(void *l, void *w) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_126a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__126a(void *w, void *l) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__126a(void *l, void *w) -{ - *lin = ( *)l; - struct win_126a *win = (struct win_126a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_126a.h b/lsteamclient/struct_converters_126a.h index 452fbd7f..1b4a0654 100644 --- a/lsteamclient/struct_converters_126a.h +++ b/lsteamclient/struct_converters_126a.h @@ -1,42 +1,27 @@ -extern void win_to_lin_struct__126a(void *w, void *l); -extern void lin_to_win_struct__126a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_126a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_126a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_126a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_126a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_126a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_126a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_126a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_126a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_126a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_126a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_126a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_126a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_126a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_126a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_126a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_126a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_126a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_126a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_126a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_126a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_126a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_126a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_126a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_126a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_126a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_126a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_126a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_126a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_126a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_126a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_126a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_126a(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_126a(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_126a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_126a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_126a(void *l, void *w); - -extern void win_to_lin_struct__126a(void *w, void *l); -extern void lin_to_win_struct__126a(void *l, void *w); - -extern void win_to_lin_struct__126a(void *w, void *l); -extern void lin_to_win_struct__126a(void *l, void *w); - -extern void win_to_lin_struct__126a(void *w, void *l); -extern void lin_to_win_struct__126a(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_126a(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_126a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_127.cpp b/lsteamclient/struct_converters_127.cpp index 34e804c8..cca02181 100644 --- a/lsteamclient/struct_converters_127.cpp +++ b/lsteamclient/struct_converters_127.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_127/isteamgameserverstats.h" #include "steamworks_sdk_127/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_127 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__127(void *w, void *l) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__127(void *l, void *w) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_127 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_127 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_127(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_127(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_127 *win = (struct winCallbackMsg_t_127 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_127(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_127(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_127(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_127 *win = (struct winCallbackMsg_t_127 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_127 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_127(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_127(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_127 *win = (struct winFriendGameInfo_t_127 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_127(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_127(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_127(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_127 *win = (struct winFriendGameInfo_t_127 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_127 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_127(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_127(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_127 *win = (struct winFriendSessionStateInfo_t_127 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_127(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_127(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_127(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_127 *win = (struct winFriendSessionStateInfo_t_127 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_127 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_127(void *w, void *l) +void win_to_lin_struct_servernetadr_t_127(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_127 *win = (struct winservernetadr_t_127 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_127(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_127(void *l, void *w) +void lin_to_win_struct_servernetadr_t_127(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_127 *win = (struct winservernetadr_t_127 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_127 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_127(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_127(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_127 *win = (struct wingameserveritem_t_127 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_127(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_127(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_127(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_127 *win = (struct wingameserveritem_t_127 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_127 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_127(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_127(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_127 *win = (struct winSteamParamStringArray_t_127 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_127(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_127(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_127(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_127 *win = (struct winSteamParamStringArray_t_127 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_127 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_127(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_127(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_127 *win = (struct winLeaderboardEntry_t_127 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_127(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_127(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_127(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_127 *win = (struct winLeaderboardEntry_t_127 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_127 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_127(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_127(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_127 *win = (struct winP2PSessionState_t_127 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_127(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_127(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_127(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_127 *win = (struct winP2PSessionState_t_127 *)w; @@ -302,40 +274,6 @@ void lin_to_win_struct_P2PSessionState_t_127(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_127 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__127(void *w, void *l) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__127(void *l, void *w) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_127 { PublishedFileId_t m_nPublishedFileId; @@ -365,7 +303,7 @@ struct winSteamUGCDetails_t_127 { float m_flScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_127(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_127(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_127 *win = (struct winSteamUGCDetails_t_127 *)w; @@ -396,7 +334,7 @@ void win_to_lin_struct_SteamUGCDetails_t_127(void *w, void *l) lin->m_flScore = win->m_flScore; } -void lin_to_win_struct_SteamUGCDetails_t_127(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_127(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_127 *win = (struct winSteamUGCDetails_t_127 *)w; @@ -427,111 +365,5 @@ void lin_to_win_struct_SteamUGCDetails_t_127(void *l, void *w) win->m_flScore = lin->m_flScore; } -#pragma pack( push, 8 ) -struct winCCallbackBase_127 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_127(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_127 *win = (struct winCCallbackBase_127 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_127(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_127 *win = (struct winCCallbackBase_127 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_127 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__127(void *w, void *l) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__127(void *l, void *w) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_127 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__127(void *w, void *l) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__127(void *l, void *w) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_127 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__127(void *w, void *l) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__127(void *l, void *w) -{ - *lin = ( *)l; - struct win_127 *win = (struct win_127 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_127.h b/lsteamclient/struct_converters_127.h index ac8da398..4eb88a7f 100644 --- a/lsteamclient/struct_converters_127.h +++ b/lsteamclient/struct_converters_127.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__127(void *w, void *l); -extern void lin_to_win_struct__127(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_127(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_127(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_127(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_127(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_127(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_127(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_127(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_127(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_127(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_127(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_127(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_127(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_127(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_127(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_127(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_127(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_127(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_127(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_127(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_127(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_127(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_127(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_127(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_127(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_127(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_127(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_127(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_127(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_127(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_127(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_127(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_127(void *l, void *w); - -extern void win_to_lin_struct__127(void *w, void *l); -extern void lin_to_win_struct__127(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_127(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_127(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_127(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_127(void *l, void *w); - -extern void win_to_lin_struct__127(void *w, void *l); -extern void lin_to_win_struct__127(void *l, void *w); - -extern void win_to_lin_struct__127(void *w, void *l); -extern void lin_to_win_struct__127(void *l, void *w); - -extern void win_to_lin_struct__127(void *w, void *l); -extern void lin_to_win_struct__127(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_127(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_127(const void *l, void *w); diff --git a/lsteamclient/struct_converters_128.cpp b/lsteamclient/struct_converters_128.cpp index 0c971c14..6e10e215 100644 --- a/lsteamclient/struct_converters_128.cpp +++ b/lsteamclient/struct_converters_128.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_128/isteamgameserverstats.h" #include "steamworks_sdk_128/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_128 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__128(void *w, void *l) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__128(void *l, void *w) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_128 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_128 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_128(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_128(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_128 *win = (struct winCallbackMsg_t_128 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_128(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_128(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_128(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_128 *win = (struct winCallbackMsg_t_128 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_128 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_128(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_128(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_128 *win = (struct winFriendGameInfo_t_128 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_128(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_128(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_128(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_128 *win = (struct winFriendGameInfo_t_128 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_128 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_128(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_128(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_128 *win = (struct winFriendSessionStateInfo_t_128 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_128(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_128(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_128(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_128 *win = (struct winFriendSessionStateInfo_t_128 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_128 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_128(void *w, void *l) +void win_to_lin_struct_servernetadr_t_128(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_128 *win = (struct winservernetadr_t_128 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_128(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_128(void *l, void *w) +void lin_to_win_struct_servernetadr_t_128(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_128 *win = (struct winservernetadr_t_128 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_128 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_128(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_128(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_128 *win = (struct wingameserveritem_t_128 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_128(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_128(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_128(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_128 *win = (struct wingameserveritem_t_128 *)w; @@ -219,7 +191,7 @@ struct winFavoritesListChanged_t_24 { bool m_bAdd; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FavoritesListChanged_t_24(void *l, void *w) +void cb_FavoritesListChanged_t_24(const void *l, void *w) { FavoritesListChanged_t *lin = (FavoritesListChanged_t *)l; struct winFavoritesListChanged_t_24 *win = (struct winFavoritesListChanged_t_24 *)w; @@ -237,7 +209,7 @@ struct winSteamParamStringArray_t_128 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_128(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_128(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_128 *win = (struct winSteamParamStringArray_t_128 *)w; @@ -245,7 +217,7 @@ void win_to_lin_struct_SteamParamStringArray_t_128(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_128(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_128(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_128 *win = (struct winSteamParamStringArray_t_128 *)w; @@ -259,7 +231,7 @@ struct winRemoteStorageFileShareResult_t_12 { UGCHandle_t m_hFile; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_12(void *l, void *w) +void cb_RemoteStorageFileShareResult_t_12(const void *l, void *w) { RemoteStorageFileShareResult_t *lin = (RemoteStorageFileShareResult_t *)l; struct winRemoteStorageFileShareResult_t_12 *win = (struct winRemoteStorageFileShareResult_t_12 *)w; @@ -276,7 +248,7 @@ struct winLeaderboardEntry_t_128 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_128(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_128(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_128 *win = (struct winLeaderboardEntry_t_128 *)w; @@ -287,7 +259,7 @@ void win_to_lin_struct_LeaderboardEntry_t_128(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_128(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_128(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_128 *win = (struct winLeaderboardEntry_t_128 *)w; @@ -310,7 +282,7 @@ struct winP2PSessionState_t_128 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_128(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_128(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_128 *win = (struct winP2PSessionState_t_128 *)w; @@ -324,7 +296,7 @@ void win_to_lin_struct_P2PSessionState_t_128(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_128(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_128(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_128 *win = (struct winP2PSessionState_t_128 *)w; @@ -338,40 +310,6 @@ void lin_to_win_struct_P2PSessionState_t_128(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_128 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__128(void *w, void *l) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__128(void *l, void *w) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_128 { PublishedFileId_t m_nPublishedFileId; @@ -401,7 +339,7 @@ struct winSteamUGCDetails_t_128 { float m_flScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_128(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_128(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_128 *win = (struct winSteamUGCDetails_t_128 *)w; @@ -432,7 +370,7 @@ void win_to_lin_struct_SteamUGCDetails_t_128(void *w, void *l) lin->m_flScore = win->m_flScore; } -void lin_to_win_struct_SteamUGCDetails_t_128(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_128(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_128 *win = (struct winSteamUGCDetails_t_128 *)w; @@ -468,118 +406,12 @@ struct winSteamUGCRequestUGCDetailsResult_t_9760 { SteamUGCDetails_t m_details; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9760(void *l, void *w) +void cb_SteamUGCRequestUGCDetailsResult_t_9760(const void *l, void *w) { SteamUGCRequestUGCDetailsResult_t *lin = (SteamUGCRequestUGCDetailsResult_t *)l; struct winSteamUGCRequestUGCDetailsResult_t_9760 *win = (struct winSteamUGCRequestUGCDetailsResult_t_9760 *)w; lin_to_win_struct_SteamUGCDetails_t_128(&lin->m_details, &win->m_details); } -#pragma pack( push, 8 ) -struct winCCallbackBase_128 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_128(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_128 *win = (struct winCCallbackBase_128 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_128(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_128 *win = (struct winCCallbackBase_128 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_128 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__128(void *w, void *l) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__128(void *l, void *w) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_128 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__128(void *w, void *l) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__128(void *l, void *w) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_128 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__128(void *w, void *l) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__128(void *l, void *w) -{ - *lin = ( *)l; - struct win_128 *win = (struct win_128 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_128.h b/lsteamclient/struct_converters_128.h index 4ab6a1ba..95602005 100644 --- a/lsteamclient/struct_converters_128.h +++ b/lsteamclient/struct_converters_128.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__128(void *w, void *l); -extern void lin_to_win_struct__128(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_128(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_128(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_128(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_128(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_128(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_128(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_128(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_128(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_128(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_128(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_128(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_128(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_128(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_128(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_128(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_128(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_128(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_128(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_128(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_128(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_128(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_128(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_128(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_128(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_128(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_128(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_128(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_128(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_128(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_128(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_128(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_128(void *l, void *w); - -extern void win_to_lin_struct__128(void *w, void *l); -extern void lin_to_win_struct__128(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_128(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_128(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_128(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_128(void *l, void *w); - -extern void win_to_lin_struct__128(void *w, void *l); -extern void lin_to_win_struct__128(void *l, void *w); - -extern void win_to_lin_struct__128(void *w, void *l); -extern void lin_to_win_struct__128(void *l, void *w); - -extern void win_to_lin_struct__128(void *w, void *l); -extern void lin_to_win_struct__128(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_128(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_128(const void *l, void *w); diff --git a/lsteamclient/struct_converters_129.cpp b/lsteamclient/struct_converters_129.cpp index 86bc4fd9..aa81705f 100644 --- a/lsteamclient/struct_converters_129.cpp +++ b/lsteamclient/struct_converters_129.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_129/isteamgameserverstats.h" #include "steamworks_sdk_129/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_129 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129(void *w, void *l) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129(void *l, void *w) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_129 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_129 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_129(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_129(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_129 *win = (struct winCallbackMsg_t_129 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_129(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_129(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_129(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_129 *win = (struct winCallbackMsg_t_129 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_129 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_129(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_129(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_129 *win = (struct winFriendGameInfo_t_129 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_129(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_129(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_129(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_129 *win = (struct winFriendGameInfo_t_129 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_129 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_129(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_129(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_129 *win = (struct winFriendSessionStateInfo_t_129 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_129(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_129(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_129(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_129 *win = (struct winFriendSessionStateInfo_t_129 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_129 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_129(void *w, void *l) +void win_to_lin_struct_servernetadr_t_129(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_129 *win = (struct winservernetadr_t_129 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_129(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_129(void *l, void *w) +void lin_to_win_struct_servernetadr_t_129(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_129 *win = (struct winservernetadr_t_129 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_129 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_129(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_129(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_129 *win = (struct wingameserveritem_t_129 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_129(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_129(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_129(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_129 *win = (struct wingameserveritem_t_129 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_129 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_129(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_129(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_129 *win = (struct winSteamParamStringArray_t_129 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_129(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_129(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_129(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_129 *win = (struct winSteamParamStringArray_t_129 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_129 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_129(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_129(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_129 *win = (struct winLeaderboardEntry_t_129 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_129(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_129(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_129(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_129 *win = (struct winLeaderboardEntry_t_129 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_129 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_129(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_129(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_129 *win = (struct winP2PSessionState_t_129 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_129(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_129(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_129(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_129 *win = (struct winP2PSessionState_t_129 *)w; @@ -302,40 +274,6 @@ void lin_to_win_struct_P2PSessionState_t_129(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_129 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129(void *w, void *l) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__129(void *l, void *w) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_129 { PublishedFileId_t m_nPublishedFileId; @@ -365,7 +303,7 @@ struct winSteamUGCDetails_t_129 { float m_flScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_129(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_129(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_129 *win = (struct winSteamUGCDetails_t_129 *)w; @@ -396,7 +334,7 @@ void win_to_lin_struct_SteamUGCDetails_t_129(void *w, void *l) lin->m_flScore = win->m_flScore; } -void lin_to_win_struct_SteamUGCDetails_t_129(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_129(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_129 *win = (struct winSteamUGCDetails_t_129 *)w; @@ -427,111 +365,5 @@ void lin_to_win_struct_SteamUGCDetails_t_129(void *l, void *w) win->m_flScore = lin->m_flScore; } -#pragma pack( push, 8 ) -struct winCCallbackBase_129 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_129(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_129 *win = (struct winCCallbackBase_129 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_129(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_129 *win = (struct winCCallbackBase_129 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_129 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129(void *w, void *l) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129(void *l, void *w) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_129 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129(void *w, void *l) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129(void *l, void *w) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_129 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129(void *w, void *l) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129(void *l, void *w) -{ - *lin = ( *)l; - struct win_129 *win = (struct win_129 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_129.h b/lsteamclient/struct_converters_129.h index 87f56fb9..697cb808 100644 --- a/lsteamclient/struct_converters_129.h +++ b/lsteamclient/struct_converters_129.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__129(void *w, void *l); -extern void lin_to_win_struct__129(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_129(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_129(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_129(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_129(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_129(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_129(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_129(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_129(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_129(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_129(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_129(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_129(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_129(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_129(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_129(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_129(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_129(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_129(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_129(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_129(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_129(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_129(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_129(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_129(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_129(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_129(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_129(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_129(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_129(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_129(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_129(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_129(void *l, void *w); - -extern void win_to_lin_struct__129(void *w, void *l); -extern void lin_to_win_struct__129(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_129(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_129(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_129(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_129(void *l, void *w); - -extern void win_to_lin_struct__129(void *w, void *l); -extern void lin_to_win_struct__129(void *l, void *w); - -extern void win_to_lin_struct__129(void *w, void *l); -extern void lin_to_win_struct__129(void *l, void *w); - -extern void win_to_lin_struct__129(void *w, void *l); -extern void lin_to_win_struct__129(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_129(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_129(const void *l, void *w); diff --git a/lsteamclient/struct_converters_129a.cpp b/lsteamclient/struct_converters_129a.cpp index 424bc11c..15cb154d 100644 --- a/lsteamclient/struct_converters_129a.cpp +++ b/lsteamclient/struct_converters_129a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_129a/isteamgameserverstats.h" #include "steamworks_sdk_129a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_129a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129a(void *w, void *l) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129a(void *l, void *w) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_129a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_129a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_129a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_129a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_129a *win = (struct winCallbackMsg_t_129a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_129a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_129a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_129a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_129a *win = (struct winCallbackMsg_t_129a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_129a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_129a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_129a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_129a *win = (struct winFriendGameInfo_t_129a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_129a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_129a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_129a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_129a *win = (struct winFriendGameInfo_t_129a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_129a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_129a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_129a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_129a *win = (struct winFriendSessionStateInfo_t_129a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_129a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_129a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_129a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_129a *win = (struct winFriendSessionStateInfo_t_129a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_129a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_129a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_129a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_129a *win = (struct winservernetadr_t_129a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_129a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_129a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_129a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_129a *win = (struct winservernetadr_t_129a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_129a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_129a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_129a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_129a *win = (struct wingameserveritem_t_129a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_129a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_129a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_129a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_129a *win = (struct wingameserveritem_t_129a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_129a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_129a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_129a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_129a *win = (struct winSteamParamStringArray_t_129a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_129a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_129a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_129a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_129a *win = (struct winSteamParamStringArray_t_129a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_129a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_129a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_129a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_129a *win = (struct winLeaderboardEntry_t_129a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_129a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_129a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_129a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_129a *win = (struct winLeaderboardEntry_t_129a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_129a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_129a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_129a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_129a *win = (struct winP2PSessionState_t_129a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_129a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_129a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_129a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_129a *win = (struct winP2PSessionState_t_129a *)w; @@ -302,40 +274,6 @@ void lin_to_win_struct_P2PSessionState_t_129a(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_129a { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129a(void *w, void *l) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__129a(void *l, void *w) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_129a { PublishedFileId_t m_nPublishedFileId; @@ -366,7 +304,7 @@ struct winSteamUGCDetails_t_129a { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_129a(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_129a(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_129a *win = (struct winSteamUGCDetails_t_129a *)w; @@ -398,7 +336,7 @@ void win_to_lin_struct_SteamUGCDetails_t_129a(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_129a(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_129a(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_129a *win = (struct winSteamUGCDetails_t_129a *)w; @@ -430,111 +368,5 @@ void lin_to_win_struct_SteamUGCDetails_t_129a(void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winCCallbackBase_129a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_129a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_129a *win = (struct winCCallbackBase_129a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_129a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_129a *win = (struct winCCallbackBase_129a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_129a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129a(void *w, void *l) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129a(void *l, void *w) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_129a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129a(void *w, void *l) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129a(void *l, void *w) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_129a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__129a(void *w, void *l) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__129a(void *l, void *w) -{ - *lin = ( *)l; - struct win_129a *win = (struct win_129a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_129a.h b/lsteamclient/struct_converters_129a.h index 7b3190c1..f2a130d8 100644 --- a/lsteamclient/struct_converters_129a.h +++ b/lsteamclient/struct_converters_129a.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__129a(void *w, void *l); -extern void lin_to_win_struct__129a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_129a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_129a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_129a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_129a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_129a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_129a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_129a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_129a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_129a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_129a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_129a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_129a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_129a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_129a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_129a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_129a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_129a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_129a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_129a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_129a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_129a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_129a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_129a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_129a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_129a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_129a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_129a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_129a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_129a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_129a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_129a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_129a(void *l, void *w); - -extern void win_to_lin_struct__129a(void *w, void *l); -extern void lin_to_win_struct__129a(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_129a(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_129a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_129a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_129a(void *l, void *w); - -extern void win_to_lin_struct__129a(void *w, void *l); -extern void lin_to_win_struct__129a(void *l, void *w); - -extern void win_to_lin_struct__129a(void *w, void *l); -extern void lin_to_win_struct__129a(void *l, void *w); - -extern void win_to_lin_struct__129a(void *w, void *l); -extern void lin_to_win_struct__129a(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_129a(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_129a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_130.cpp b/lsteamclient/struct_converters_130.cpp index ed8be2c1..438d0ae1 100644 --- a/lsteamclient/struct_converters_130.cpp +++ b/lsteamclient/struct_converters_130.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_130/isteamgameserverstats.h" #include "steamworks_sdk_130/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_130 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__130(void *w, void *l) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__130(void *l, void *w) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_130 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_130 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_130(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_130(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_130 *win = (struct winCallbackMsg_t_130 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_130(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_130(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_130(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_130 *win = (struct winCallbackMsg_t_130 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_130 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_130(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_130(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_130 *win = (struct winFriendGameInfo_t_130 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_130(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_130(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_130(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_130 *win = (struct winFriendGameInfo_t_130 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_130 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_130(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_130(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_130 *win = (struct winFriendSessionStateInfo_t_130 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_130(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_130(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_130(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_130 *win = (struct winFriendSessionStateInfo_t_130 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_130 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_130(void *w, void *l) +void win_to_lin_struct_servernetadr_t_130(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_130 *win = (struct winservernetadr_t_130 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_130(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_130(void *l, void *w) +void lin_to_win_struct_servernetadr_t_130(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_130 *win = (struct winservernetadr_t_130 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_130 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_130(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_130(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_130 *win = (struct wingameserveritem_t_130 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_130(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_130(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_130(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_130 *win = (struct wingameserveritem_t_130 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_130 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_130(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_130(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_130 *win = (struct winSteamParamStringArray_t_130 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_130(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_130(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_130(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_130 *win = (struct winSteamParamStringArray_t_130 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_130 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_130(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_130(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_130 *win = (struct winLeaderboardEntry_t_130 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_130(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_130(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_130(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_130 *win = (struct winLeaderboardEntry_t_130 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_130 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_130(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_130(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_130 *win = (struct winP2PSessionState_t_130 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_130(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_130(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_130(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_130 *win = (struct winP2PSessionState_t_130 *)w; @@ -302,40 +274,6 @@ void lin_to_win_struct_P2PSessionState_t_130(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_130 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__130(void *w, void *l) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__130(void *l, void *w) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_130 { PublishedFileId_t m_nPublishedFileId; @@ -366,7 +304,7 @@ struct winSteamUGCDetails_t_130 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_130(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_130(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_130 *win = (struct winSteamUGCDetails_t_130 *)w; @@ -398,7 +336,7 @@ void win_to_lin_struct_SteamUGCDetails_t_130(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_130(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_130(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_130 *win = (struct winSteamUGCDetails_t_130 *)w; @@ -430,111 +368,5 @@ void lin_to_win_struct_SteamUGCDetails_t_130(void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winCCallbackBase_130 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_130(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_130 *win = (struct winCCallbackBase_130 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_130(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_130 *win = (struct winCCallbackBase_130 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_130 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__130(void *w, void *l) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__130(void *l, void *w) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_130 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__130(void *w, void *l) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__130(void *l, void *w) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_130 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__130(void *w, void *l) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__130(void *l, void *w) -{ - *lin = ( *)l; - struct win_130 *win = (struct win_130 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_130.h b/lsteamclient/struct_converters_130.h index 91f7f9a5..e2c434fd 100644 --- a/lsteamclient/struct_converters_130.h +++ b/lsteamclient/struct_converters_130.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__130(void *w, void *l); -extern void lin_to_win_struct__130(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_130(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_130(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_130(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_130(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_130(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_130(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_130(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_130(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_130(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_130(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_130(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_130(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_130(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_130(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_130(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_130(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_130(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_130(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_130(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_130(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_130(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_130(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_130(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_130(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_130(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_130(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_130(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_130(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_130(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_130(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_130(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_130(void *l, void *w); - -extern void win_to_lin_struct__130(void *w, void *l); -extern void lin_to_win_struct__130(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_130(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_130(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_130(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_130(void *l, void *w); - -extern void win_to_lin_struct__130(void *w, void *l); -extern void lin_to_win_struct__130(void *l, void *w); - -extern void win_to_lin_struct__130(void *w, void *l); -extern void lin_to_win_struct__130(void *l, void *w); - -extern void win_to_lin_struct__130(void *w, void *l); -extern void lin_to_win_struct__130(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_130(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_130(const void *l, void *w); diff --git a/lsteamclient/struct_converters_131.cpp b/lsteamclient/struct_converters_131.cpp index 9fb3c120..c9f558a9 100644 --- a/lsteamclient/struct_converters_131.cpp +++ b/lsteamclient/struct_converters_131.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_131/isteamgameserverstats.h" #include "steamworks_sdk_131/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct win_131 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__131(void *w, void *l) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__131(void *l, void *w) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_131 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_131 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_131(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_131(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_131 *win = (struct winCallbackMsg_t_131 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_131(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_131(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_131(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_131 *win = (struct winCallbackMsg_t_131 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_131 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_131(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_131(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_131 *win = (struct winFriendGameInfo_t_131 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_131(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_131(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_131(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_131 *win = (struct winFriendGameInfo_t_131 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_131 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_131(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_131(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_131 *win = (struct winFriendSessionStateInfo_t_131 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_131(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_131(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_131(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_131 *win = (struct winFriendSessionStateInfo_t_131 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_131 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_131(void *w, void *l) +void win_to_lin_struct_servernetadr_t_131(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_131 *win = (struct winservernetadr_t_131 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_131(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_131(void *l, void *w) +void lin_to_win_struct_servernetadr_t_131(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_131 *win = (struct winservernetadr_t_131 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_131 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_131(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_131(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_131 *win = (struct wingameserveritem_t_131 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_131(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_131(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_131(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_131 *win = (struct wingameserveritem_t_131 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_131 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_131(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_131(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_131 *win = (struct winSteamParamStringArray_t_131 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_131(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_131(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_131(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_131 *win = (struct winSteamParamStringArray_t_131 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_131 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_131(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_131(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_131 *win = (struct winLeaderboardEntry_t_131 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_131(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_131(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_131(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_131 *win = (struct winLeaderboardEntry_t_131 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_131 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_131(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_131(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_131 *win = (struct winP2PSessionState_t_131 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_131(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_131(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_131(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_131 *win = (struct winP2PSessionState_t_131 *)w; @@ -302,40 +274,6 @@ void lin_to_win_struct_P2PSessionState_t_131(void *l, void *w) win->m_nRemotePort = lin->m_nRemotePort; } -#pragma pack( push, 8 ) -struct win_131 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__131(void *w, void *l) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct__131(void *l, void *w) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_131 { PublishedFileId_t m_nPublishedFileId; @@ -366,7 +304,7 @@ struct winSteamUGCDetails_t_131 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_131(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_131(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_131 *win = (struct winSteamUGCDetails_t_131 *)w; @@ -398,7 +336,7 @@ void win_to_lin_struct_SteamUGCDetails_t_131(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_131(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_131(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_131 *win = (struct winSteamUGCDetails_t_131 *)w; @@ -430,111 +368,5 @@ void lin_to_win_struct_SteamUGCDetails_t_131(void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winCCallbackBase_131 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_131(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_131 *win = (struct winCCallbackBase_131 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_131(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_131 *win = (struct winCCallbackBase_131 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct win_131 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__131(void *w, void *l) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__131(void *l, void *w) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_131 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__131(void *w, void *l) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__131(void *l, void *w) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct win_131 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct__131(void *w, void *l) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct__131(void *l, void *w) -{ - *lin = ( *)l; - struct win_131 *win = (struct win_131 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_131.h b/lsteamclient/struct_converters_131.h index 87f7e40d..168c23d4 100644 --- a/lsteamclient/struct_converters_131.h +++ b/lsteamclient/struct_converters_131.h @@ -1,45 +1,27 @@ -extern void win_to_lin_struct__131(void *w, void *l); -extern void lin_to_win_struct__131(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_131(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_131(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_131(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_131(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_131(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_131(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_131(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_131(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_131(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_131(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_131(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_131(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_131(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_131(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_131(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_131(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_131(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_131(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_131(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_131(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_131(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_131(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_131(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_131(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_131(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_131(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_131(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_131(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_131(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_131(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_131(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_131(void *l, void *w); - -extern void win_to_lin_struct__131(void *w, void *l); -extern void lin_to_win_struct__131(void *l, void *w); - -extern void win_to_lin_struct_SteamUGCDetails_t_131(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_131(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_131(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_131(void *l, void *w); - -extern void win_to_lin_struct__131(void *w, void *l); -extern void lin_to_win_struct__131(void *l, void *w); - -extern void win_to_lin_struct__131(void *w, void *l); -extern void lin_to_win_struct__131(void *l, void *w); - -extern void win_to_lin_struct__131(void *w, void *l); -extern void lin_to_win_struct__131(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_131(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_131(const void *l, void *w); diff --git a/lsteamclient/struct_converters_132.cpp b/lsteamclient/struct_converters_132.cpp index 280f35f3..f26c9da0 100644 --- a/lsteamclient/struct_converters_132.cpp +++ b/lsteamclient/struct_converters_132.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_132/isteamgameserverstats.h" #include "steamworks_sdk_132/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_132 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_132 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_132 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_132(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_132(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_132 *win = (struct winCallbackMsg_t_132 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_132(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_132(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_132(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_132 *win = (struct winCallbackMsg_t_132 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_132 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_132(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_132(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_132 *win = (struct winFriendGameInfo_t_132 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_132(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_132(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_132(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_132 *win = (struct winFriendGameInfo_t_132 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_132 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_132(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_132(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_132 *win = (struct winFriendSessionStateInfo_t_132 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_132(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_132(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_132(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_132 *win = (struct winFriendSessionStateInfo_t_132 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_132 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_132(void *w, void *l) +void win_to_lin_struct_servernetadr_t_132(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_132 *win = (struct winservernetadr_t_132 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_132(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_132(void *l, void *w) +void lin_to_win_struct_servernetadr_t_132(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_132 *win = (struct winservernetadr_t_132 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_132 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_132(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_132(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_132 *win = (struct wingameserveritem_t_132 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_132(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_132(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_132(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_132 *win = (struct wingameserveritem_t_132 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_132 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_132(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_132(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_132 *win = (struct winSteamParamStringArray_t_132 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_132(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_132(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_132(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_132 *win = (struct winSteamParamStringArray_t_132 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_132 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_132(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_132(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_132 *win = (struct winLeaderboardEntry_t_132 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_132(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_132(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_132(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_132 *win = (struct winLeaderboardEntry_t_132 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_132 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_132(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_132(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_132 *win = (struct winP2PSessionState_t_132 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_132(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_132(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_132(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_132 *win = (struct winP2PSessionState_t_132 *)w; @@ -310,7 +282,7 @@ struct winHTTPRequestCompleted_t_20 { EHTTPStatusCode m_eStatusCode; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTTPRequestCompleted_t_20(void *l, void *w) +void cb_HTTPRequestCompleted_t_20(const void *l, void *w) { HTTPRequestCompleted_t *lin = (HTTPRequestCompleted_t *)l; struct winHTTPRequestCompleted_t_20 *win = (struct winHTTPRequestCompleted_t_20 *)w; @@ -330,7 +302,7 @@ struct winSteamControllerState_t_132 { short sRightPadY; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamControllerState_t_132(void *w, void *l) +void win_to_lin_struct_SteamControllerState_t_132(const void *w, void *l) { SteamControllerState_t *lin = (SteamControllerState_t *)l; struct winSteamControllerState_t_132 *win = (struct winSteamControllerState_t_132 *)w; @@ -342,7 +314,7 @@ void win_to_lin_struct_SteamControllerState_t_132(void *w, void *l) lin->sRightPadY = win->sRightPadY; } -void lin_to_win_struct_SteamControllerState_t_132(void *l, void *w) +void lin_to_win_struct_SteamControllerState_t_132(const void *l, void *w) { SteamControllerState_t *lin = (SteamControllerState_t *)l; struct winSteamControllerState_t_132 *win = (struct winSteamControllerState_t_132 *)w; @@ -384,7 +356,7 @@ struct winSteamUGCDetails_t_132 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_132(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_132(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_132 *win = (struct winSteamUGCDetails_t_132 *)w; @@ -416,7 +388,7 @@ void win_to_lin_struct_SteamUGCDetails_t_132(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_132(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_132(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_132 *win = (struct winSteamUGCDetails_t_132 *)w; @@ -456,7 +428,7 @@ struct winHTML_ComboNeedsPaint_t_16 { uint32 unTall; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_ComboNeedsPaint_t_16(void *l, void *w) +void cb_HTML_ComboNeedsPaint_t_16(const void *l, void *w) { HTML_ComboNeedsPaint_t *lin = (HTML_ComboNeedsPaint_t *)l; struct winHTML_ComboNeedsPaint_t_16 *win = (struct winHTML_ComboNeedsPaint_t_16 *)w; @@ -471,7 +443,7 @@ struct winHTML_ShowPopup_t_4 { HHTMLBrowser unBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_ShowPopup_t_4(void *l, void *w) +void cb_HTML_ShowPopup_t_4(const void *l, void *w) { HTML_ShowPopup_t *lin = (HTML_ShowPopup_t *)l; struct winHTML_ShowPopup_t_4 *win = (struct winHTML_ShowPopup_t_4 *)w; @@ -483,7 +455,7 @@ struct winHTML_HidePopup_t_4 { HHTMLBrowser unBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_HidePopup_t_4(void *l, void *w) +void cb_HTML_HidePopup_t_4(const void *l, void *w) { HTML_HidePopup_t *lin = (HTML_HidePopup_t *)l; struct winHTML_HidePopup_t_4 *win = (struct winHTML_HidePopup_t_4 *)w; @@ -499,7 +471,7 @@ struct winHTML_SizePopup_t_20 { uint32 unTall; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_SizePopup_t_20(void *l, void *w) +void cb_HTML_SizePopup_t_20(const void *l, void *w) { HTML_SizePopup_t *lin = (HTML_SizePopup_t *)l; struct winHTML_SizePopup_t_20 *win = (struct winHTML_SizePopup_t_20 *)w; @@ -520,7 +492,7 @@ struct winHTML_NewWindow_t_24 { uint32 unTall; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_NewWindow_t_24(void *l, void *w) +void cb_HTML_NewWindow_t_24(const void *l, void *w) { HTML_NewWindow_t *lin = (HTML_NewWindow_t *)l; struct winHTML_NewWindow_t_24 *win = (struct winHTML_NewWindow_t_24 *)w; @@ -540,7 +512,7 @@ struct winSteamItemDetails_t_132 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_132(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_132(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_132 *win = (struct winSteamItemDetails_t_132 *)w; @@ -550,7 +522,7 @@ void win_to_lin_struct_SteamItemDetails_t_132(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_132(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_132(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_132 *win = (struct winSteamItemDetails_t_132 *)w; @@ -560,111 +532,5 @@ void lin_to_win_struct_SteamItemDetails_t_132(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_132 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_132(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_132 *win = (struct winCCallbackBase_132 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_132(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_132 *win = (struct winCCallbackBase_132 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_132 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_132 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_132 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_132 *win = (struct winValvePackingSentinel_t_132 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_132.h b/lsteamclient/struct_converters_132.h index 6ac5fb4b..082040e0 100644 --- a/lsteamclient/struct_converters_132.h +++ b/lsteamclient/struct_converters_132.h @@ -1,48 +1,33 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_132(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_132(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_132(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_132(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_132(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_132(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_132(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_132(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_132(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_132(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_132(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_132(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_132(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_132(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_132(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_132(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_132(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_132(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_132(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_132(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_132(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_132(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_132(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_132(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_132(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_132(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_132(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_132(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_132(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_132(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_132(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_132(void *l, void *w); +extern void win_to_lin_struct_SteamControllerState_t_132(const void *w, void *l); +extern void lin_to_win_struct_SteamControllerState_t_132(const void *l, void *w); -extern void win_to_lin_struct_SteamControllerState_t_132(void *w, void *l); -extern void lin_to_win_struct_SteamControllerState_t_132(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_132(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_132(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_132(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_132(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_132(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_132(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_132(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_132(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_132(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_132(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_132(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_132(const void *l, void *w); diff --git a/lsteamclient/struct_converters_133.cpp b/lsteamclient/struct_converters_133.cpp index 7e533108..59ad10db 100644 --- a/lsteamclient/struct_converters_133.cpp +++ b/lsteamclient/struct_converters_133.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_133/isteamgameserverstats.h" #include "steamworks_sdk_133/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_133 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_133 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_133(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133 *win = (struct winCallbackMsg_t_133 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_133(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_133(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_133(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133 *win = (struct winCallbackMsg_t_133 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_133 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_133(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133 *win = (struct winFriendGameInfo_t_133 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_133(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_133(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_133(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133 *win = (struct winFriendGameInfo_t_133 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_133 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_133(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133 *win = (struct winFriendSessionStateInfo_t_133 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_133(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_133(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_133(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133 *win = (struct winFriendSessionStateInfo_t_133 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_133 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133(void *w, void *l) +void win_to_lin_struct_servernetadr_t_133(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133 *win = (struct winservernetadr_t_133 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_133(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_133(void *l, void *w) +void lin_to_win_struct_servernetadr_t_133(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133 *win = (struct winservernetadr_t_133 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_133 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_133(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133 *win = (struct wingameserveritem_t_133 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_133(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_133(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_133(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133 *win = (struct wingameserveritem_t_133 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_133 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_133(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133 *win = (struct winSteamParamStringArray_t_133 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_133(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_133(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_133(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133 *win = (struct winSteamParamStringArray_t_133 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_133 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_133(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_133(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133 *win = (struct winLeaderboardEntry_t_133 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_133(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_133(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_133(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133 *win = (struct winLeaderboardEntry_t_133 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_133 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_133(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133 *win = (struct winP2PSessionState_t_133 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_133(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_133(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_133(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133 *win = (struct winP2PSessionState_t_133 *)w; @@ -312,7 +284,7 @@ struct winSteamControllerState001_t_133 { short sRightPadY; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133(void *w, void *l) +void win_to_lin_struct_SteamControllerState001_t_133(const void *w, void *l) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133 *win = (struct winSteamControllerState001_t_133 *)w; @@ -324,7 +296,7 @@ void win_to_lin_struct_SteamControllerState001_t_133(void *w, void *l) lin->sRightPadY = win->sRightPadY; } -void lin_to_win_struct_SteamControllerState001_t_133(void *l, void *w) +void lin_to_win_struct_SteamControllerState001_t_133(const void *l, void *w) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133 *win = (struct winSteamControllerState001_t_133 *)w; @@ -366,7 +338,7 @@ struct winSteamUGCDetails_t_133 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_133(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_133(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133 *win = (struct winSteamUGCDetails_t_133 *)w; @@ -398,7 +370,7 @@ void win_to_lin_struct_SteamUGCDetails_t_133(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_133(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_133(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133 *win = (struct winSteamUGCDetails_t_133 *)w; @@ -438,7 +410,7 @@ struct winSteamItemDetails_t_133 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_133(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133 *win = (struct winSteamItemDetails_t_133 *)w; @@ -448,7 +420,7 @@ void win_to_lin_struct_SteamItemDetails_t_133(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_133(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_133(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133 *win = (struct winSteamItemDetails_t_133 *)w; @@ -458,111 +430,5 @@ void lin_to_win_struct_SteamItemDetails_t_133(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_133 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_133(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133 *win = (struct winCCallbackBase_133 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_133(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133 *win = (struct winCCallbackBase_133 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133 *win = (struct winValvePackingSentinel_t_133 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_133.h b/lsteamclient/struct_converters_133.h index 17318795..55ce21b3 100644 --- a/lsteamclient/struct_converters_133.h +++ b/lsteamclient/struct_converters_133.h @@ -1,48 +1,33 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_133(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_133(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_133(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_133(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_133(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_133(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_133(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_133(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_133(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_133(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_133(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_133(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_133(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_133(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_133(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_133(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_133(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_133(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_133(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_133(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_133(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_133(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_133(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133(void *l, void *w); +extern void win_to_lin_struct_SteamControllerState001_t_133(const void *w, void *l); +extern void lin_to_win_struct_SteamControllerState001_t_133(const void *l, void *w); -extern void win_to_lin_struct_SteamControllerState001_t_133(void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_133(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_133(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_133(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_133(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_133(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_133(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_133(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_133(const void *l, void *w); diff --git a/lsteamclient/struct_converters_133a.cpp b/lsteamclient/struct_converters_133a.cpp index 2bb8a73b..9767041d 100644 --- a/lsteamclient/struct_converters_133a.cpp +++ b/lsteamclient/struct_converters_133a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_133a/isteamgameserverstats.h" #include "steamworks_sdk_133a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_133a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_133a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_133a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133a *win = (struct winCallbackMsg_t_133a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_133a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_133a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_133a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133a *win = (struct winCallbackMsg_t_133a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_133a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_133a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133a *win = (struct winFriendGameInfo_t_133a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_133a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_133a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_133a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133a *win = (struct winFriendGameInfo_t_133a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_133a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_133a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133a *win = (struct winFriendSessionStateInfo_t_133a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_133a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_133a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_133a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133a *win = (struct winFriendSessionStateInfo_t_133a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_133a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_133a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133a *win = (struct winservernetadr_t_133a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_133a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_133a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_133a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133a *win = (struct winservernetadr_t_133a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_133a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_133a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133a *win = (struct wingameserveritem_t_133a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_133a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_133a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_133a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133a *win = (struct wingameserveritem_t_133a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_133a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_133a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133a *win = (struct winSteamParamStringArray_t_133a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_133a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_133a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_133a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133a *win = (struct winSteamParamStringArray_t_133a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_133a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_133a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_133a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133a *win = (struct winLeaderboardEntry_t_133a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_133a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_133a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_133a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133a *win = (struct winLeaderboardEntry_t_133a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_133a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_133a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133a *win = (struct winP2PSessionState_t_133a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_133a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_133a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_133a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133a *win = (struct winP2PSessionState_t_133a *)w; @@ -312,7 +284,7 @@ struct winSteamControllerState001_t_133a { short sRightPadY; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133a(void *w, void *l) +void win_to_lin_struct_SteamControllerState001_t_133a(const void *w, void *l) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133a *win = (struct winSteamControllerState001_t_133a *)w; @@ -324,7 +296,7 @@ void win_to_lin_struct_SteamControllerState001_t_133a(void *w, void *l) lin->sRightPadY = win->sRightPadY; } -void lin_to_win_struct_SteamControllerState001_t_133a(void *l, void *w) +void lin_to_win_struct_SteamControllerState001_t_133a(const void *l, void *w) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133a *win = (struct winSteamControllerState001_t_133a *)w; @@ -366,7 +338,7 @@ struct winSteamUGCDetails_t_133a { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_133a(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_133a(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133a *win = (struct winSteamUGCDetails_t_133a *)w; @@ -398,7 +370,7 @@ void win_to_lin_struct_SteamUGCDetails_t_133a(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_133a(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_133a(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133a *win = (struct winSteamUGCDetails_t_133a *)w; @@ -438,7 +410,7 @@ struct winSteamItemDetails_t_133a { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133a(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_133a(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133a *win = (struct winSteamItemDetails_t_133a *)w; @@ -448,7 +420,7 @@ void win_to_lin_struct_SteamItemDetails_t_133a(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_133a(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_133a(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133a *win = (struct winSteamItemDetails_t_133a *)w; @@ -458,111 +430,5 @@ void lin_to_win_struct_SteamItemDetails_t_133a(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_133a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_133a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133a *win = (struct winCCallbackBase_133a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_133a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133a *win = (struct winCCallbackBase_133a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133a *win = (struct winValvePackingSentinel_t_133a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_133a.h b/lsteamclient/struct_converters_133a.h index cbdb3474..d3518678 100644 --- a/lsteamclient/struct_converters_133a.h +++ b/lsteamclient/struct_converters_133a.h @@ -1,48 +1,33 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_133a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_133a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_133a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_133a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_133a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_133a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_133a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_133a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_133a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_133a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_133a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_133a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_133a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_133a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_133a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_133a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_133a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_133a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_133a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_133a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_133a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_133a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_133a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133a(void *l, void *w); +extern void win_to_lin_struct_SteamControllerState001_t_133a(const void *w, void *l); +extern void lin_to_win_struct_SteamControllerState001_t_133a(const void *l, void *w); -extern void win_to_lin_struct_SteamControllerState001_t_133a(void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133a(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_133a(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_133a(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_133a(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133a(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_133a(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_133a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_133a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133a(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_133a(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_133a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_133b.cpp b/lsteamclient/struct_converters_133b.cpp index 9ea093ff..3528dc25 100644 --- a/lsteamclient/struct_converters_133b.cpp +++ b/lsteamclient/struct_converters_133b.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_133b/isteamgameserverstats.h" #include "steamworks_sdk_133b/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133b { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_133b { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_133b { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133b(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_133b(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133b *win = (struct winCallbackMsg_t_133b *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_133b(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_133b(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_133b(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_133b *win = (struct winCallbackMsg_t_133b *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_133b { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133b(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_133b(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133b *win = (struct winFriendGameInfo_t_133b *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_133b(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_133b(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_133b(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_133b *win = (struct winFriendGameInfo_t_133b *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_133b { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133b(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_133b(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133b *win = (struct winFriendSessionStateInfo_t_133b *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_133b(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_133b(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_133b(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_133b *win = (struct winFriendSessionStateInfo_t_133b *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_133b { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133b(void *w, void *l) +void win_to_lin_struct_servernetadr_t_133b(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133b *win = (struct winservernetadr_t_133b *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_133b(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_133b(void *l, void *w) +void lin_to_win_struct_servernetadr_t_133b(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_133b *win = (struct winservernetadr_t_133b *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_133b { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133b(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_133b(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133b *win = (struct wingameserveritem_t_133b *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_133b(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_133b(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_133b(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_133b *win = (struct wingameserveritem_t_133b *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_133b { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133b(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_133b(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133b *win = (struct winSteamParamStringArray_t_133b *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_133b(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_133b(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_133b(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_133b *win = (struct winSteamParamStringArray_t_133b *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_133b { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_133b(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_133b(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133b *win = (struct winLeaderboardEntry_t_133b *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_133b(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_133b(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_133b(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_133b *win = (struct winLeaderboardEntry_t_133b *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_133b { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133b(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_133b(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133b *win = (struct winP2PSessionState_t_133b *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_133b(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_133b(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_133b(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_133b *win = (struct winP2PSessionState_t_133b *)w; @@ -312,7 +284,7 @@ struct winSteamControllerState001_t_133b { short sRightPadY; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133b(void *w, void *l) +void win_to_lin_struct_SteamControllerState001_t_133b(const void *w, void *l) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133b *win = (struct winSteamControllerState001_t_133b *)w; @@ -324,7 +296,7 @@ void win_to_lin_struct_SteamControllerState001_t_133b(void *w, void *l) lin->sRightPadY = win->sRightPadY; } -void lin_to_win_struct_SteamControllerState001_t_133b(void *l, void *w) +void lin_to_win_struct_SteamControllerState001_t_133b(const void *l, void *w) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_133b *win = (struct winSteamControllerState001_t_133b *)w; @@ -366,7 +338,7 @@ struct winSteamUGCDetails_t_133b { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_133b(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_133b(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133b *win = (struct winSteamUGCDetails_t_133b *)w; @@ -398,7 +370,7 @@ void win_to_lin_struct_SteamUGCDetails_t_133b(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_133b(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_133b(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_133b *win = (struct winSteamUGCDetails_t_133b *)w; @@ -438,7 +410,7 @@ struct winSteamItemDetails_t_133b { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133b(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_133b(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133b *win = (struct winSteamItemDetails_t_133b *)w; @@ -448,7 +420,7 @@ void win_to_lin_struct_SteamItemDetails_t_133b(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_133b(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_133b(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_133b *win = (struct winSteamItemDetails_t_133b *)w; @@ -458,111 +430,5 @@ void lin_to_win_struct_SteamItemDetails_t_133b(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_133b { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_133b(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133b *win = (struct winCCallbackBase_133b *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_133b(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_133b *win = (struct winCCallbackBase_133b *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133b { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133b { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_133b { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_133b *win = (struct winValvePackingSentinel_t_133b *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_133b.h b/lsteamclient/struct_converters_133b.h index 72c1ff5d..5670c3d5 100644 --- a/lsteamclient/struct_converters_133b.h +++ b/lsteamclient/struct_converters_133b.h @@ -1,48 +1,33 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_133b(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_133b(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_133b(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133b(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_133b(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_133b(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_133b(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133b(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_133b(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_133b(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_133b(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133b(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_133b(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_133b(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_133b(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133b(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_133b(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_133b(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_133b(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133b(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_133b(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_133b(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_133b(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133b(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_133b(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_133b(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_133b(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133b(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_133b(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_133b(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133b(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133b(void *l, void *w); +extern void win_to_lin_struct_SteamControllerState001_t_133b(const void *w, void *l); +extern void lin_to_win_struct_SteamControllerState001_t_133b(const void *l, void *w); -extern void win_to_lin_struct_SteamControllerState001_t_133b(void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133b(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_133b(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_133b(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_133b(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133b(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_133b(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133b(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_133b(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_133b(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_133b(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_133b(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_133b(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_133b(const void *l, void *w); diff --git a/lsteamclient/struct_converters_134.cpp b/lsteamclient/struct_converters_134.cpp index 1cb43241..f4384c8e 100644 --- a/lsteamclient/struct_converters_134.cpp +++ b/lsteamclient/struct_converters_134.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_134/isteamgameserverstats.h" #include "steamworks_sdk_134/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_134 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_134 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_134 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_134(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_134(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_134 *win = (struct winCallbackMsg_t_134 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_134(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_134(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_134(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_134 *win = (struct winCallbackMsg_t_134 *)w; @@ -66,7 +38,7 @@ struct winSteamServerConnectFailure_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamServerConnectFailure_t_4(void *l, void *w) +void cb_SteamServerConnectFailure_t_4(const void *l, void *w) { SteamServerConnectFailure_t *lin = (SteamServerConnectFailure_t *)l; struct winSteamServerConnectFailure_t_4 *win = (struct winSteamServerConnectFailure_t_4 *)w; @@ -82,7 +54,7 @@ struct winFriendGameInfo_t_134 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_134(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_134(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_134 *win = (struct winFriendGameInfo_t_134 *)w; @@ -93,7 +65,7 @@ void win_to_lin_struct_FriendGameInfo_t_134(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_134(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_134(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_134 *win = (struct winFriendGameInfo_t_134 *)w; @@ -110,7 +82,7 @@ struct winFriendSessionStateInfo_t_134 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_134(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_134(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_134 *win = (struct winFriendSessionStateInfo_t_134 *)w; @@ -118,7 +90,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_134(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_134(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_134(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_134 *win = (struct winFriendSessionStateInfo_t_134 *)w; @@ -133,7 +105,7 @@ struct winservernetadr_t_134 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_134(void *w, void *l) +void win_to_lin_struct_servernetadr_t_134(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_134 *win = (struct winservernetadr_t_134 *)w; @@ -142,7 +114,7 @@ void win_to_lin_struct_servernetadr_t_134(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_134(void *l, void *w) +void lin_to_win_struct_servernetadr_t_134(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_134 *win = (struct winservernetadr_t_134 *)w; @@ -173,7 +145,7 @@ struct wingameserveritem_t_134 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_134(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_134(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_134 *win = (struct wingameserveritem_t_134 *)w; @@ -197,7 +169,7 @@ void win_to_lin_struct_gameserveritem_t_134(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_134(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_134(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_134 *win = (struct wingameserveritem_t_134 *)w; @@ -227,7 +199,7 @@ struct winSteamParamStringArray_t_134 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_134(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_134(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_134 *win = (struct winSteamParamStringArray_t_134 *)w; @@ -235,7 +207,7 @@ void win_to_lin_struct_SteamParamStringArray_t_134(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_134(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_134(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_134 *win = (struct winSteamParamStringArray_t_134 *)w; @@ -252,7 +224,7 @@ struct winLeaderboardEntry_t_134 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_134(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_134(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_134 *win = (struct winLeaderboardEntry_t_134 *)w; @@ -263,7 +235,7 @@ void win_to_lin_struct_LeaderboardEntry_t_134(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_134(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_134(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_134 *win = (struct winLeaderboardEntry_t_134 *)w; @@ -286,7 +258,7 @@ struct winP2PSessionState_t_134 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_134(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_134(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_134 *win = (struct winP2PSessionState_t_134 *)w; @@ -300,7 +272,7 @@ void win_to_lin_struct_P2PSessionState_t_134(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_134(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_134(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_134 *win = (struct winP2PSessionState_t_134 *)w; @@ -324,7 +296,7 @@ struct winSteamControllerState001_t_134 { short sRightPadY; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_134(void *w, void *l) +void win_to_lin_struct_SteamControllerState001_t_134(const void *w, void *l) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_134 *win = (struct winSteamControllerState001_t_134 *)w; @@ -336,7 +308,7 @@ void win_to_lin_struct_SteamControllerState001_t_134(void *w, void *l) lin->sRightPadY = win->sRightPadY; } -void lin_to_win_struct_SteamControllerState001_t_134(void *l, void *w) +void lin_to_win_struct_SteamControllerState001_t_134(const void *l, void *w) { SteamControllerState001_t *lin = (SteamControllerState001_t *)l; struct winSteamControllerState001_t_134 *win = (struct winSteamControllerState001_t_134 *)w; @@ -378,7 +350,7 @@ struct winSteamUGCDetails_t_134 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_134(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_134(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_134 *win = (struct winSteamUGCDetails_t_134 *)w; @@ -410,7 +382,7 @@ void win_to_lin_struct_SteamUGCDetails_t_134(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_134(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_134(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_134 *win = (struct winSteamUGCDetails_t_134 *)w; @@ -450,7 +422,7 @@ struct winSteamItemDetails_t_134 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_134(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_134(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_134 *win = (struct winSteamItemDetails_t_134 *)w; @@ -460,7 +432,7 @@ void win_to_lin_struct_SteamItemDetails_t_134(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_134(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_134(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_134 *win = (struct winSteamItemDetails_t_134 *)w; @@ -470,111 +442,5 @@ void lin_to_win_struct_SteamItemDetails_t_134(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_134 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_134(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_134 *win = (struct winCCallbackBase_134 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_134(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_134 *win = (struct winCCallbackBase_134 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_134 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_134 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_134 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_134 *win = (struct winValvePackingSentinel_t_134 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_134.h b/lsteamclient/struct_converters_134.h index cee0dc62..11cefe62 100644 --- a/lsteamclient/struct_converters_134.h +++ b/lsteamclient/struct_converters_134.h @@ -1,48 +1,33 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_134(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_134(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_134(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_134(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_134(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_134(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_134(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_134(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_134(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_134(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_134(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_134(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_134(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_134(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_134(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_134(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_134(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_134(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_134(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_134(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_134(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_134(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_134(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_134(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_134(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_134(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_134(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_134(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_134(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_134(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_134(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_134(void *l, void *w); +extern void win_to_lin_struct_SteamControllerState001_t_134(const void *w, void *l); +extern void lin_to_win_struct_SteamControllerState001_t_134(const void *l, void *w); -extern void win_to_lin_struct_SteamControllerState001_t_134(void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_134(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_134(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_134(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_134(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_134(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_134(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_134(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_134(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_134(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_134(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_134(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_134(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_134(const void *l, void *w); diff --git a/lsteamclient/struct_converters_135.cpp b/lsteamclient/struct_converters_135.cpp index 3b04e4fb..ef95bd37 100644 --- a/lsteamclient/struct_converters_135.cpp +++ b/lsteamclient/struct_converters_135.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_135/isteamgameserverstats.h" #include "steamworks_sdk_135/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_135 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_135 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_135(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_135(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_135 *win = (struct winCallbackMsg_t_135 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_135(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_135(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_135(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_135 *win = (struct winCallbackMsg_t_135 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_135 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_135(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_135(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_135 *win = (struct winFriendGameInfo_t_135 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_135(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_135(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_135(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_135 *win = (struct winFriendGameInfo_t_135 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_135 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_135(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_135(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_135 *win = (struct winFriendSessionStateInfo_t_135 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_135(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_135(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_135(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_135 *win = (struct winFriendSessionStateInfo_t_135 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_135 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_135(void *w, void *l) +void win_to_lin_struct_servernetadr_t_135(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_135 *win = (struct winservernetadr_t_135 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_135(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_135(void *l, void *w) +void lin_to_win_struct_servernetadr_t_135(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_135 *win = (struct winservernetadr_t_135 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_135 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_135(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_135(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_135 *win = (struct wingameserveritem_t_135 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_135(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_135(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_135(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_135 *win = (struct wingameserveritem_t_135 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_135 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_135(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_135(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_135 *win = (struct winSteamParamStringArray_t_135 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_135(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_135(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_135(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_135 *win = (struct winSteamParamStringArray_t_135 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_135 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_135(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_135(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_135 *win = (struct winLeaderboardEntry_t_135 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_135(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_135(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_135(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_135 *win = (struct winLeaderboardEntry_t_135 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_135 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_135(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_135(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_135 *win = (struct winP2PSessionState_t_135 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_135(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_135(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_135(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_135 *win = (struct winP2PSessionState_t_135 *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_135 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_135(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_135(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_135 *win = (struct winControllerAnalogActionData_t_135 *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_135(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_135(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_135(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_135 *win = (struct winControllerAnalogActionData_t_135 *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_135 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_135(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_135(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_135 *win = (struct winControllerDigitalActionData_t_135 *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_135(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_135(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_135(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_135 *win = (struct winControllerDigitalActionData_t_135 *)w; @@ -382,7 +354,7 @@ struct winSteamUGCDetails_t_135 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_135(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_135(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_135 *win = (struct winSteamUGCDetails_t_135 *)w; @@ -414,7 +386,7 @@ void win_to_lin_struct_SteamUGCDetails_t_135(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_135(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_135(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_135 *win = (struct winSteamUGCDetails_t_135 *)w; @@ -454,7 +426,7 @@ struct winSteamItemDetails_t_135 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_135(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_135(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_135 *win = (struct winSteamItemDetails_t_135 *)w; @@ -464,7 +436,7 @@ void win_to_lin_struct_SteamItemDetails_t_135(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_135(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_135(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_135 *win = (struct winSteamItemDetails_t_135 *)w; @@ -474,111 +446,5 @@ void lin_to_win_struct_SteamItemDetails_t_135(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_135 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_135(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_135 *win = (struct winCCallbackBase_135 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_135(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_135 *win = (struct winCCallbackBase_135 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135 *win = (struct winValvePackingSentinel_t_135 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_135.h b/lsteamclient/struct_converters_135.h index 9f3b81fe..af3de6bc 100644 --- a/lsteamclient/struct_converters_135.h +++ b/lsteamclient/struct_converters_135.h @@ -1,51 +1,36 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_135(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_135(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_135(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_135(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_135(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_135(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_135(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_135(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_135(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_135(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_135(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_135(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_135(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_135(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_135(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_135(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_135(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_135(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_135(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_135(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_135(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_135(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_135(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_135(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_135(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_135(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_135(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_135(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_135(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_135(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_135(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_135(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_135(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_135(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_135(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_135(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_135(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_135(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_135(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_135(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_135(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_135(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_135(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_135(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_135(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_135(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_135(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_135(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_135(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_135(const void *l, void *w); diff --git a/lsteamclient/struct_converters_135a.cpp b/lsteamclient/struct_converters_135a.cpp index f5b84864..6997dafe 100644 --- a/lsteamclient/struct_converters_135a.cpp +++ b/lsteamclient/struct_converters_135a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_135a/isteamgameserverstats.h" #include "steamworks_sdk_135a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_135a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_135a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_135a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_135a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_135a *win = (struct winCallbackMsg_t_135a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_135a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_135a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_135a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_135a *win = (struct winCallbackMsg_t_135a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_135a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_135a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_135a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_135a *win = (struct winFriendGameInfo_t_135a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_135a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_135a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_135a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_135a *win = (struct winFriendGameInfo_t_135a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_135a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_135a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_135a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_135a *win = (struct winFriendSessionStateInfo_t_135a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_135a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_135a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_135a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_135a *win = (struct winFriendSessionStateInfo_t_135a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_135a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_135a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_135a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_135a *win = (struct winservernetadr_t_135a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_135a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_135a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_135a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_135a *win = (struct winservernetadr_t_135a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_135a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_135a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_135a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_135a *win = (struct wingameserveritem_t_135a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_135a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_135a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_135a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_135a *win = (struct wingameserveritem_t_135a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_135a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_135a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_135a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_135a *win = (struct winSteamParamStringArray_t_135a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_135a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_135a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_135a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_135a *win = (struct winSteamParamStringArray_t_135a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_135a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_135a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_135a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_135a *win = (struct winLeaderboardEntry_t_135a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_135a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_135a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_135a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_135a *win = (struct winLeaderboardEntry_t_135a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_135a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_135a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_135a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_135a *win = (struct winP2PSessionState_t_135a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_135a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_135a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_135a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_135a *win = (struct winP2PSessionState_t_135a *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_135a { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_135a(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_135a(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_135a *win = (struct winControllerAnalogActionData_t_135a *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_135a(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_135a(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_135a(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_135a *win = (struct winControllerAnalogActionData_t_135a *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_135a { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_135a(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_135a(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_135a *win = (struct winControllerDigitalActionData_t_135a *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_135a(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_135a(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_135a(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_135a *win = (struct winControllerDigitalActionData_t_135a *)w; @@ -382,7 +354,7 @@ struct winSteamUGCDetails_t_135a { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_135a(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_135a(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_135a *win = (struct winSteamUGCDetails_t_135a *)w; @@ -414,7 +386,7 @@ void win_to_lin_struct_SteamUGCDetails_t_135a(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_135a(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_135a(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_135a *win = (struct winSteamUGCDetails_t_135a *)w; @@ -454,7 +426,7 @@ struct winSteamItemDetails_t_135a { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_135a(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_135a(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_135a *win = (struct winSteamItemDetails_t_135a *)w; @@ -464,7 +436,7 @@ void win_to_lin_struct_SteamItemDetails_t_135a(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_135a(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_135a(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_135a *win = (struct winSteamItemDetails_t_135a *)w; @@ -474,111 +446,5 @@ void lin_to_win_struct_SteamItemDetails_t_135a(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_135a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_135a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_135a *win = (struct winCCallbackBase_135a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_135a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_135a *win = (struct winCCallbackBase_135a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_135a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_135a *win = (struct winValvePackingSentinel_t_135a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_135a.h b/lsteamclient/struct_converters_135a.h index 6d8a9e13..a064cb48 100644 --- a/lsteamclient/struct_converters_135a.h +++ b/lsteamclient/struct_converters_135a.h @@ -1,51 +1,36 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_135a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_135a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_135a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_135a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_135a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_135a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_135a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_135a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_135a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_135a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_135a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_135a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_135a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_135a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_135a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_135a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_135a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_135a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_135a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_135a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_135a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_135a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_135a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_135a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_135a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_135a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_135a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_135a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_135a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_135a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_135a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_135a(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_135a(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_135a(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_135a(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_135a(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_135a(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_135a(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_135a(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_135a(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_135a(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_135a(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_135a(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_135a(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_135a(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_135a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_135a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_135a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_135a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_135a(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_135a(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_135a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_136.cpp b/lsteamclient/struct_converters_136.cpp index fccf2b64..2a83a536 100644 --- a/lsteamclient/struct_converters_136.cpp +++ b/lsteamclient/struct_converters_136.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_136/isteamgameserverstats.h" #include "steamworks_sdk_136/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_136 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_136 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_136 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_136(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_136(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_136 *win = (struct winCallbackMsg_t_136 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_136(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_136(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_136(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_136 *win = (struct winCallbackMsg_t_136 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_136 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_136(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_136(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_136 *win = (struct winFriendGameInfo_t_136 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_136(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_136(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_136(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_136 *win = (struct winFriendGameInfo_t_136 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_136 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_136(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_136(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_136 *win = (struct winFriendSessionStateInfo_t_136 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_136(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_136(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_136(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_136 *win = (struct winFriendSessionStateInfo_t_136 *)w; @@ -119,7 +91,7 @@ struct winSteamAPICallCompleted_t_8 { SteamAPICall_t m_hAsyncCall; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamAPICallCompleted_t_8(void *l, void *w) +void cb_SteamAPICallCompleted_t_8(const void *l, void *w) { SteamAPICallCompleted_t *lin = (SteamAPICallCompleted_t *)l; struct winSteamAPICallCompleted_t_8 *win = (struct winSteamAPICallCompleted_t_8 *)w; @@ -133,7 +105,7 @@ struct winservernetadr_t_136 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_136(void *w, void *l) +void win_to_lin_struct_servernetadr_t_136(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_136 *win = (struct winservernetadr_t_136 *)w; @@ -142,7 +114,7 @@ void win_to_lin_struct_servernetadr_t_136(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_136(void *l, void *w) +void lin_to_win_struct_servernetadr_t_136(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_136 *win = (struct winservernetadr_t_136 *)w; @@ -173,7 +145,7 @@ struct wingameserveritem_t_136 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_136(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_136(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_136 *win = (struct wingameserveritem_t_136 *)w; @@ -197,7 +169,7 @@ void win_to_lin_struct_gameserveritem_t_136(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_136(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_136(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_136 *win = (struct wingameserveritem_t_136 *)w; @@ -227,7 +199,7 @@ struct winSteamParamStringArray_t_136 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_136(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_136(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_136 *win = (struct winSteamParamStringArray_t_136 *)w; @@ -235,7 +207,7 @@ void win_to_lin_struct_SteamParamStringArray_t_136(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_136(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_136(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_136 *win = (struct winSteamParamStringArray_t_136 *)w; @@ -252,7 +224,7 @@ struct winLeaderboardEntry_t_136 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_136(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_136(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_136 *win = (struct winLeaderboardEntry_t_136 *)w; @@ -263,7 +235,7 @@ void win_to_lin_struct_LeaderboardEntry_t_136(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_136(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_136(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_136 *win = (struct winLeaderboardEntry_t_136 *)w; @@ -281,7 +253,7 @@ struct winAppProofOfPurchaseKeyResponse_t_72 { char m_rgchKey[64]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AppProofOfPurchaseKeyResponse_t_72(void *l, void *w) +void cb_AppProofOfPurchaseKeyResponse_t_72(const void *l, void *w) { AppProofOfPurchaseKeyResponse_t *lin = (AppProofOfPurchaseKeyResponse_t *)l; struct winAppProofOfPurchaseKeyResponse_t_72 *win = (struct winAppProofOfPurchaseKeyResponse_t_72 *)w; @@ -302,7 +274,7 @@ struct winP2PSessionState_t_136 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_136(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_136(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_136 *win = (struct winP2PSessionState_t_136 *)w; @@ -316,7 +288,7 @@ void win_to_lin_struct_P2PSessionState_t_136(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_136(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_136(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_136 *win = (struct winP2PSessionState_t_136 *)w; @@ -338,7 +310,7 @@ struct winControllerAnalogActionData_t_136 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_136(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_136(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_136 *win = (struct winControllerAnalogActionData_t_136 *)w; @@ -348,7 +320,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_136(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_136(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_136(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_136 *win = (struct winControllerAnalogActionData_t_136 *)w; @@ -364,7 +336,7 @@ struct winControllerDigitalActionData_t_136 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_136(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_136(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_136 *win = (struct winControllerDigitalActionData_t_136 *)w; @@ -372,7 +344,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_136(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_136(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_136(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_136 *win = (struct winControllerDigitalActionData_t_136 *)w; @@ -410,7 +382,7 @@ struct winSteamUGCDetails_t_136 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_136(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_136(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_136 *win = (struct winSteamUGCDetails_t_136 *)w; @@ -442,7 +414,7 @@ void win_to_lin_struct_SteamUGCDetails_t_136(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_136(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_136(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_136 *win = (struct winSteamUGCDetails_t_136 *)w; @@ -482,7 +454,7 @@ struct winSteamItemDetails_t_136 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_136(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_136(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_136 *win = (struct winSteamItemDetails_t_136 *)w; @@ -492,7 +464,7 @@ void win_to_lin_struct_SteamItemDetails_t_136(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_136(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_136(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_136 *win = (struct winSteamItemDetails_t_136 *)w; @@ -502,111 +474,5 @@ void lin_to_win_struct_SteamItemDetails_t_136(void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winCCallbackBase_136 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_136(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_136 *win = (struct winCCallbackBase_136 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_136(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_136 *win = (struct winCCallbackBase_136 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_136 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_136 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_136 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_136 *win = (struct winValvePackingSentinel_t_136 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_136.h b/lsteamclient/struct_converters_136.h index 7037f557..8c8de25a 100644 --- a/lsteamclient/struct_converters_136.h +++ b/lsteamclient/struct_converters_136.h @@ -1,51 +1,36 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_136(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_136(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_136(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_136(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_136(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_136(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_136(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_136(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_136(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_136(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_136(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_136(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_136(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_136(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_136(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_136(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_136(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_136(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_136(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_136(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_136(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_136(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_136(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_136(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_136(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_136(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_136(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_136(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_136(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_136(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_136(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_136(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_136(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_136(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_136(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_136(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_136(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_136(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_136(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_136(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_136(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_136(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_136(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_136(void *l, void *w); - -extern void win_to_lin_struct_SteamItemDetails_t_136(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_136(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_136(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_136(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_136(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_136(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_136(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_136(const void *l, void *w); diff --git a/lsteamclient/struct_converters_137.cpp b/lsteamclient/struct_converters_137.cpp index 05b40a75..312f1cee 100644 --- a/lsteamclient/struct_converters_137.cpp +++ b/lsteamclient/struct_converters_137.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_137/isteamgameserverstats.h" #include "steamworks_sdk_137/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_137 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_137 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_137 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_137(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_137(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_137 *win = (struct winCallbackMsg_t_137 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_137(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_137(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_137(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_137 *win = (struct winCallbackMsg_t_137 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_137 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_137(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_137(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_137 *win = (struct winFriendGameInfo_t_137 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_137(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_137(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_137(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_137 *win = (struct winFriendGameInfo_t_137 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_137 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_137(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_137(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_137 *win = (struct winFriendSessionStateInfo_t_137 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_137(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_137(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_137(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_137 *win = (struct winFriendSessionStateInfo_t_137 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_137 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_137(void *w, void *l) +void win_to_lin_struct_servernetadr_t_137(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_137 *win = (struct winservernetadr_t_137 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_137(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_137(void *l, void *w) +void lin_to_win_struct_servernetadr_t_137(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_137 *win = (struct winservernetadr_t_137 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_137 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_137(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_137(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_137 *win = (struct wingameserveritem_t_137 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_137(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_137(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_137(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_137 *win = (struct wingameserveritem_t_137 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_137 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_137(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_137(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_137 *win = (struct winSteamParamStringArray_t_137 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_137(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_137(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_137(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_137 *win = (struct winSteamParamStringArray_t_137 *)w; @@ -237,7 +209,7 @@ struct winRemoteStorageConflictResolution_t_8 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageConflictResolution_t_8(void *l, void *w) +void cb_RemoteStorageConflictResolution_t_8(const void *l, void *w) { RemoteStorageConflictResolution_t *lin = (RemoteStorageConflictResolution_t *)l; struct winRemoteStorageConflictResolution_t_8 *win = (struct winRemoteStorageConflictResolution_t_8 *)w; @@ -254,7 +226,7 @@ struct winLeaderboardEntry_t_137 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_137(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_137(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_137 *win = (struct winLeaderboardEntry_t_137 *)w; @@ -265,7 +237,7 @@ void win_to_lin_struct_LeaderboardEntry_t_137(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_137(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_137(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_137 *win = (struct winLeaderboardEntry_t_137 *)w; @@ -288,7 +260,7 @@ struct winP2PSessionState_t_137 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_137(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_137(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_137 *win = (struct winP2PSessionState_t_137 *)w; @@ -302,7 +274,7 @@ void win_to_lin_struct_P2PSessionState_t_137(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_137(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_137(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_137 *win = (struct winP2PSessionState_t_137 *)w; @@ -324,7 +296,7 @@ struct winControllerAnalogActionData_t_137 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_137(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_137(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_137 *win = (struct winControllerAnalogActionData_t_137 *)w; @@ -334,7 +306,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_137(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_137(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_137(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_137 *win = (struct winControllerAnalogActionData_t_137 *)w; @@ -350,7 +322,7 @@ struct winControllerDigitalActionData_t_137 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_137(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_137(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_137 *win = (struct winControllerDigitalActionData_t_137 *)w; @@ -358,7 +330,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_137(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_137(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_137(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_137 *win = (struct winControllerDigitalActionData_t_137 *)w; @@ -396,7 +368,7 @@ struct winSteamUGCDetails_t_137 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_137(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_137(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_137 *win = (struct winSteamUGCDetails_t_137 *)w; @@ -428,7 +400,7 @@ void win_to_lin_struct_SteamUGCDetails_t_137(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_137(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_137(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_137 *win = (struct winSteamUGCDetails_t_137 *)w; @@ -468,7 +440,7 @@ struct winSteamItemDetails_t_137 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_137(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_137(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_137 *win = (struct winSteamItemDetails_t_137 *)w; @@ -478,7 +450,7 @@ void win_to_lin_struct_SteamItemDetails_t_137(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_137(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_137(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_137 *win = (struct winSteamItemDetails_t_137 *)w; @@ -513,7 +485,7 @@ struct winCSteamAPIContext_137 { ISteamVideo * m_pSteamVideo; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_137(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_137(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_137 *win = (struct winCSteamAPIContext_137 *)w; @@ -540,7 +512,7 @@ void win_to_lin_struct_CSteamAPIContext_137(void *w, void *l) lin->m_pSteamVideo = win->m_pSteamVideo; } -void lin_to_win_struct_CSteamAPIContext_137(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_137(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_137 *win = (struct winCSteamAPIContext_137 *)w; @@ -567,111 +539,5 @@ void lin_to_win_struct_CSteamAPIContext_137(void *l, void *w) win->m_pSteamVideo = lin->m_pSteamVideo; } -#pragma pack( push, 8 ) -struct winCCallbackBase_137 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_137(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_137 *win = (struct winCCallbackBase_137 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_137(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_137 *win = (struct winCCallbackBase_137 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_137 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_137 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_137 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_137 *win = (struct winValvePackingSentinel_t_137 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_137.h b/lsteamclient/struct_converters_137.h index 12906fc2..d7bbdda1 100644 --- a/lsteamclient/struct_converters_137.h +++ b/lsteamclient/struct_converters_137.h @@ -1,54 +1,39 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_137(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_137(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_137(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_137(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_137(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_137(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_137(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_137(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_137(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_137(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_137(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_137(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_137(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_137(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_137(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_137(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_137(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_137(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_137(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_137(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_137(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_137(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_137(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_137(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_137(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_137(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_137(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_137(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_137(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_137(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_137(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_137(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_137(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_137(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_137(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_137(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_137(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_137(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_137(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_137(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_137(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_137(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_137(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_137(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_137(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_137(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_137(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_137(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_137(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_137(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_137(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_137(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_137(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_137(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_137(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_137(const void *l, void *w); diff --git a/lsteamclient/struct_converters_138.cpp b/lsteamclient/struct_converters_138.cpp index 7a64e268..31c6020e 100644 --- a/lsteamclient/struct_converters_138.cpp +++ b/lsteamclient/struct_converters_138.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_138/isteamgameserverstats.h" #include "steamworks_sdk_138/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_138 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_138 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_138(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_138(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_138 *win = (struct winCallbackMsg_t_138 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_138(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_138(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_138(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_138 *win = (struct winCallbackMsg_t_138 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_138 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_138(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_138(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_138 *win = (struct winFriendGameInfo_t_138 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_138(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_138(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_138(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_138 *win = (struct winFriendGameInfo_t_138 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_138 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_138(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_138(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_138 *win = (struct winFriendSessionStateInfo_t_138 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_138(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_138(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_138(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_138 *win = (struct winFriendSessionStateInfo_t_138 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_138 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_138(void *w, void *l) +void win_to_lin_struct_servernetadr_t_138(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_138 *win = (struct winservernetadr_t_138 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_138(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_138(void *l, void *w) +void lin_to_win_struct_servernetadr_t_138(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_138 *win = (struct winservernetadr_t_138 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_138 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_138(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_138(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_138 *win = (struct wingameserveritem_t_138 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_138(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_138(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_138(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_138 *win = (struct wingameserveritem_t_138 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_138 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_138(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_138(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_138 *win = (struct winSteamParamStringArray_t_138 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_138(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_138(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_138(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_138 *win = (struct winSteamParamStringArray_t_138 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_138 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_138(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_138(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_138 *win = (struct winLeaderboardEntry_t_138 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_138(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_138(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_138(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_138 *win = (struct winLeaderboardEntry_t_138 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_138 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_138(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_138(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_138 *win = (struct winP2PSessionState_t_138 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_138(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_138(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_138(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_138 *win = (struct winP2PSessionState_t_138 *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_138 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_138(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_138(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_138 *win = (struct winControllerAnalogActionData_t_138 *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_138(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_138(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_138(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_138 *win = (struct winControllerAnalogActionData_t_138 *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_138 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_138(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_138(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_138 *win = (struct winControllerDigitalActionData_t_138 *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_138(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_138(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_138(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_138 *win = (struct winControllerDigitalActionData_t_138 *)w; @@ -366,7 +338,7 @@ struct winControllerMotionData_t_138 { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_138(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_138(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_138 *win = (struct winControllerMotionData_t_138 *)w; @@ -382,7 +354,7 @@ void win_to_lin_struct_ControllerMotionData_t_138(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_138(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_138(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_138 *win = (struct winControllerMotionData_t_138 *)w; @@ -428,7 +400,7 @@ struct winSteamUGCDetails_t_138 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_138(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_138(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_138 *win = (struct winSteamUGCDetails_t_138 *)w; @@ -460,7 +432,7 @@ void win_to_lin_struct_SteamUGCDetails_t_138(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_138(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_138(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_138 *win = (struct winSteamUGCDetails_t_138 *)w; @@ -500,7 +472,7 @@ struct winSteamItemDetails_t_138 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_138(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_138(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_138 *win = (struct winSteamItemDetails_t_138 *)w; @@ -510,7 +482,7 @@ void win_to_lin_struct_SteamItemDetails_t_138(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_138(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_138(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_138 *win = (struct winSteamItemDetails_t_138 *)w; @@ -545,7 +517,7 @@ struct winCSteamAPIContext_138 { ISteamVideo * m_pSteamVideo; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_138(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_138(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_138 *win = (struct winCSteamAPIContext_138 *)w; @@ -572,7 +544,7 @@ void win_to_lin_struct_CSteamAPIContext_138(void *w, void *l) lin->m_pSteamVideo = win->m_pSteamVideo; } -void lin_to_win_struct_CSteamAPIContext_138(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_138(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_138 *win = (struct winCSteamAPIContext_138 *)w; @@ -599,111 +571,5 @@ void lin_to_win_struct_CSteamAPIContext_138(void *l, void *w) win->m_pSteamVideo = lin->m_pSteamVideo; } -#pragma pack( push, 8 ) -struct winCCallbackBase_138 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_138(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_138 *win = (struct winCCallbackBase_138 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_138(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_138 *win = (struct winCCallbackBase_138 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138 *win = (struct winValvePackingSentinel_t_138 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_138.h b/lsteamclient/struct_converters_138.h index 6df78944..75f29596 100644 --- a/lsteamclient/struct_converters_138.h +++ b/lsteamclient/struct_converters_138.h @@ -1,57 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_138(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_138(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_138(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_138(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_138(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_138(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_138(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_138(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_138(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_138(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_138(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_138(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_138(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_138(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_138(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_138(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_138(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_138(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_138(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_138(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_138(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_138(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_138(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_138(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_138(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_138(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_138(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_138(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_138(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_138(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_138(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_138(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_138(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_138(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_138(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_138(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_138(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_138(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_138(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_138(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_138(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_138(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_138(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_138(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_138(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_138(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_138(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_138(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_138(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_138(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_138(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_138(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_138(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_138(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_138(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_138(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_138(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_138(const void *l, void *w); diff --git a/lsteamclient/struct_converters_138a.cpp b/lsteamclient/struct_converters_138a.cpp index 34c19a03..cee1b872 100644 --- a/lsteamclient/struct_converters_138a.cpp +++ b/lsteamclient/struct_converters_138a.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_138a/isteamgameserverstats.h" #include "steamworks_sdk_138a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_138a { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_138a { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_138a(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_138a(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_138a *win = (struct winCallbackMsg_t_138a *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_138a(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_138a(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_138a(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_138a *win = (struct winCallbackMsg_t_138a *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_138a { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_138a(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_138a(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_138a *win = (struct winFriendGameInfo_t_138a *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_138a(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_138a(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_138a(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_138a *win = (struct winFriendGameInfo_t_138a *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_138a { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_138a(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_138a(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_138a *win = (struct winFriendSessionStateInfo_t_138a *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_138a(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_138a(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_138a(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_138a *win = (struct winFriendSessionStateInfo_t_138a *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_138a { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_138a(void *w, void *l) +void win_to_lin_struct_servernetadr_t_138a(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_138a *win = (struct winservernetadr_t_138a *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_138a(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_138a(void *l, void *w) +void lin_to_win_struct_servernetadr_t_138a(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_138a *win = (struct winservernetadr_t_138a *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_138a { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_138a(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_138a(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_138a *win = (struct wingameserveritem_t_138a *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_138a(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_138a(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_138a(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_138a *win = (struct wingameserveritem_t_138a *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_138a { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_138a(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_138a(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_138a *win = (struct winSteamParamStringArray_t_138a *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_138a(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_138a(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_138a(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_138a *win = (struct winSteamParamStringArray_t_138a *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_138a { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_138a(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_138a(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_138a *win = (struct winLeaderboardEntry_t_138a *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_138a(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_138a(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_138a(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_138a *win = (struct winLeaderboardEntry_t_138a *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_138a { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_138a(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_138a(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_138a *win = (struct winP2PSessionState_t_138a *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_138a(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_138a(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_138a(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_138a *win = (struct winP2PSessionState_t_138a *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_138a { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_138a(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_138a(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_138a *win = (struct winControllerAnalogActionData_t_138a *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_138a(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_138a(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_138a(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_138a *win = (struct winControllerAnalogActionData_t_138a *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_138a { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_138a(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_138a(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_138a *win = (struct winControllerDigitalActionData_t_138a *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_138a(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_138a(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_138a(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_138a *win = (struct winControllerDigitalActionData_t_138a *)w; @@ -366,7 +338,7 @@ struct winControllerMotionData_t_138a { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_138a(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_138a(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_138a *win = (struct winControllerMotionData_t_138a *)w; @@ -382,7 +354,7 @@ void win_to_lin_struct_ControllerMotionData_t_138a(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_138a(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_138a(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_138a *win = (struct winControllerMotionData_t_138a *)w; @@ -428,7 +400,7 @@ struct winSteamUGCDetails_t_138a { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_138a(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_138a(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_138a *win = (struct winSteamUGCDetails_t_138a *)w; @@ -460,7 +432,7 @@ void win_to_lin_struct_SteamUGCDetails_t_138a(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_138a(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_138a(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_138a *win = (struct winSteamUGCDetails_t_138a *)w; @@ -500,7 +472,7 @@ struct winSteamItemDetails_t_138a { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_138a(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_138a(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_138a *win = (struct winSteamItemDetails_t_138a *)w; @@ -510,7 +482,7 @@ void win_to_lin_struct_SteamItemDetails_t_138a(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_138a(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_138a(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_138a *win = (struct winSteamItemDetails_t_138a *)w; @@ -545,7 +517,7 @@ struct winCSteamAPIContext_138a { ISteamVideo * m_pSteamVideo; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_138a(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_138a(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_138a *win = (struct winCSteamAPIContext_138a *)w; @@ -572,7 +544,7 @@ void win_to_lin_struct_CSteamAPIContext_138a(void *w, void *l) lin->m_pSteamVideo = win->m_pSteamVideo; } -void lin_to_win_struct_CSteamAPIContext_138a(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_138a(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_138a *win = (struct winCSteamAPIContext_138a *)w; @@ -599,111 +571,5 @@ void lin_to_win_struct_CSteamAPIContext_138a(void *l, void *w) win->m_pSteamVideo = lin->m_pSteamVideo; } -#pragma pack( push, 8 ) -struct winCCallbackBase_138a { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_138a(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_138a *win = (struct winCCallbackBase_138a *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_138a(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_138a *win = (struct winCCallbackBase_138a *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_138a { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_138a *win = (struct winValvePackingSentinel_t_138a *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_138a.h b/lsteamclient/struct_converters_138a.h index fa5dfb5c..b6e72836 100644 --- a/lsteamclient/struct_converters_138a.h +++ b/lsteamclient/struct_converters_138a.h @@ -1,57 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_138a(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_138a(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_138a(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_138a(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_138a(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_138a(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_138a(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_138a(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_138a(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_138a(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_138a(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_138a(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_138a(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_138a(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_138a(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_138a(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_138a(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_138a(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_138a(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_138a(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_138a(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_138a(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_138a(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_138a(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_138a(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_138a(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_138a(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_138a(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_138a(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_138a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_138a(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_138a(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_138a(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_138a(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_138a(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_138a(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_138a(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_138a(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_138a(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_138a(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_138a(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_138a(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_138a(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_138a(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_138a(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_138a(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_138a(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_138a(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_138a(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_138a(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_138a(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_138a(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_138a(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_138a(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_138a(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_138a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_138a(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_138a(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_138a(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_138a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_139.cpp b/lsteamclient/struct_converters_139.cpp index 6f6ef051..31b0d9bc 100644 --- a/lsteamclient/struct_converters_139.cpp +++ b/lsteamclient/struct_converters_139.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_139/isteamgameserverstats.h" #include "steamworks_sdk_139/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_139 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_139 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_139 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_139(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_139(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_139 *win = (struct winCallbackMsg_t_139 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_139(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_139(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_139(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_139 *win = (struct winCallbackMsg_t_139 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_139 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_139(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_139(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_139 *win = (struct winFriendGameInfo_t_139 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_139(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_139(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_139(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_139 *win = (struct winFriendGameInfo_t_139 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_139 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_139(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_139(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_139 *win = (struct winFriendSessionStateInfo_t_139 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_139(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_139(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_139(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_139 *win = (struct winFriendSessionStateInfo_t_139 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_139 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_139(void *w, void *l) +void win_to_lin_struct_servernetadr_t_139(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_139 *win = (struct winservernetadr_t_139 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_139(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_139(void *l, void *w) +void lin_to_win_struct_servernetadr_t_139(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_139 *win = (struct winservernetadr_t_139 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_139 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_139(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_139(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_139 *win = (struct wingameserveritem_t_139 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_139(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_139(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_139(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_139 *win = (struct wingameserveritem_t_139 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_139 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_139(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_139(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_139 *win = (struct winSteamParamStringArray_t_139 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_139(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_139(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_139(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_139 *win = (struct winSteamParamStringArray_t_139 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_139 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_139(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_139(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_139 *win = (struct winLeaderboardEntry_t_139 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_139(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_139(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_139(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_139 *win = (struct winLeaderboardEntry_t_139 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_139 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_139(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_139(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_139 *win = (struct winP2PSessionState_t_139 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_139(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_139(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_139(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_139 *win = (struct winP2PSessionState_t_139 *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_139 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_139(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_139(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_139 *win = (struct winControllerAnalogActionData_t_139 *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_139(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_139(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_139(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_139 *win = (struct winControllerAnalogActionData_t_139 *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_139 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_139(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_139(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_139 *win = (struct winControllerDigitalActionData_t_139 *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_139(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_139(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_139(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_139 *win = (struct winControllerDigitalActionData_t_139 *)w; @@ -366,7 +338,7 @@ struct winControllerMotionData_t_139 { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_139(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_139(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_139 *win = (struct winControllerMotionData_t_139 *)w; @@ -382,7 +354,7 @@ void win_to_lin_struct_ControllerMotionData_t_139(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_139(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_139(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_139 *win = (struct winControllerMotionData_t_139 *)w; @@ -428,7 +400,7 @@ struct winSteamUGCDetails_t_139 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_139(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_139(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_139 *win = (struct winSteamUGCDetails_t_139 *)w; @@ -460,7 +432,7 @@ void win_to_lin_struct_SteamUGCDetails_t_139(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_139(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_139(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_139 *win = (struct winSteamUGCDetails_t_139 *)w; @@ -500,7 +472,7 @@ struct winSteamItemDetails_t_139 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_139(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_139(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_139 *win = (struct winSteamItemDetails_t_139 *)w; @@ -510,7 +482,7 @@ void win_to_lin_struct_SteamItemDetails_t_139(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_139(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_139(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_139 *win = (struct winSteamItemDetails_t_139 *)w; @@ -545,7 +517,7 @@ struct winCSteamAPIContext_139 { ISteamVideo * m_pSteamVideo; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_139(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_139(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_139 *win = (struct winCSteamAPIContext_139 *)w; @@ -572,7 +544,7 @@ void win_to_lin_struct_CSteamAPIContext_139(void *w, void *l) lin->m_pSteamVideo = win->m_pSteamVideo; } -void lin_to_win_struct_CSteamAPIContext_139(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_139(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_139 *win = (struct winCSteamAPIContext_139 *)w; @@ -599,111 +571,5 @@ void lin_to_win_struct_CSteamAPIContext_139(void *l, void *w) win->m_pSteamVideo = lin->m_pSteamVideo; } -#pragma pack( push, 8 ) -struct winCCallbackBase_139 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_139(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_139 *win = (struct winCCallbackBase_139 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_139(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_139 *win = (struct winCCallbackBase_139 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_139 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_139 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_139 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_139 *win = (struct winValvePackingSentinel_t_139 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_139.h b/lsteamclient/struct_converters_139.h index a8da7fc1..e092a27f 100644 --- a/lsteamclient/struct_converters_139.h +++ b/lsteamclient/struct_converters_139.h @@ -1,57 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_139(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_139(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_139(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_139(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_139(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_139(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_139(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_139(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_139(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_139(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_139(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_139(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_139(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_139(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_139(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_139(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_139(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_139(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_139(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_139(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_139(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_139(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_139(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_139(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_139(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_139(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_139(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_139(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_139(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_139(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_139(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_139(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_139(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_139(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_139(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_139(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_139(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_139(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_139(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_139(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_139(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_139(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_139(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_139(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_139(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_139(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_139(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_139(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_139(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_139(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_139(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_139(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_139(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_139(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_139(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_139(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_139(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_139(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_139(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_139(const void *l, void *w); diff --git a/lsteamclient/struct_converters_140.cpp b/lsteamclient/struct_converters_140.cpp index 2d532e3a..740d41e9 100644 --- a/lsteamclient/struct_converters_140.cpp +++ b/lsteamclient/struct_converters_140.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_140/isteamgameserverstats.h" #include "steamworks_sdk_140/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_140 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_140 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_140 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_140(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_140(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_140 *win = (struct winCallbackMsg_t_140 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_140(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_140(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_140(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_140 *win = (struct winCallbackMsg_t_140 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_140 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_140(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_140(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_140 *win = (struct winFriendGameInfo_t_140 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_140(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_140(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_140(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_140 *win = (struct winFriendGameInfo_t_140 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_140 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_140(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_140(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_140 *win = (struct winFriendSessionStateInfo_t_140 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_140(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_140(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_140(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_140 *win = (struct winFriendSessionStateInfo_t_140 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_140 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_140(void *w, void *l) +void win_to_lin_struct_servernetadr_t_140(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_140 *win = (struct winservernetadr_t_140 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_140(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_140(void *l, void *w) +void lin_to_win_struct_servernetadr_t_140(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_140 *win = (struct winservernetadr_t_140 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_140 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_140(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_140(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_140 *win = (struct wingameserveritem_t_140 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_140(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_140(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_140(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_140 *win = (struct wingameserveritem_t_140 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_140 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_140(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_140(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_140 *win = (struct winSteamParamStringArray_t_140 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_140(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_140(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_140(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_140 *win = (struct winSteamParamStringArray_t_140 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_140 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_140(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_140(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_140 *win = (struct winLeaderboardEntry_t_140 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_140(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_140(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_140(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_140 *win = (struct winLeaderboardEntry_t_140 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_140 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_140(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_140(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_140 *win = (struct winP2PSessionState_t_140 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_140(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_140(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_140(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_140 *win = (struct winP2PSessionState_t_140 *)w; @@ -310,7 +282,7 @@ struct winControllerAnalogActionData_t_140 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_140(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_140(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_140 *win = (struct winControllerAnalogActionData_t_140 *)w; @@ -320,7 +292,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_140(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_140(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_140(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_140 *win = (struct winControllerAnalogActionData_t_140 *)w; @@ -336,7 +308,7 @@ struct winControllerDigitalActionData_t_140 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_140(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_140(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_140 *win = (struct winControllerDigitalActionData_t_140 *)w; @@ -344,7 +316,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_140(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_140(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_140(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_140 *win = (struct winControllerDigitalActionData_t_140 *)w; @@ -366,7 +338,7 @@ struct winControllerMotionData_t_140 { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_140(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_140(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_140 *win = (struct winControllerMotionData_t_140 *)w; @@ -382,7 +354,7 @@ void win_to_lin_struct_ControllerMotionData_t_140(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_140(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_140(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_140 *win = (struct winControllerMotionData_t_140 *)w; @@ -428,7 +400,7 @@ struct winSteamUGCDetails_t_140 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_140(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_140(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_140 *win = (struct winSteamUGCDetails_t_140 *)w; @@ -460,7 +432,7 @@ void win_to_lin_struct_SteamUGCDetails_t_140(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_140(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_140(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_140 *win = (struct winSteamUGCDetails_t_140 *)w; @@ -498,7 +470,7 @@ struct winSubmitItemUpdateResult_t_8 { bool m_bUserNeedsToAcceptWorkshopLegalAgreement; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SubmitItemUpdateResult_t_8(void *l, void *w) +void cb_SubmitItemUpdateResult_t_8(const void *l, void *w) { SubmitItemUpdateResult_t *lin = (SubmitItemUpdateResult_t *)l; struct winSubmitItemUpdateResult_t_8 *win = (struct winSubmitItemUpdateResult_t_8 *)w; @@ -514,7 +486,7 @@ struct winSteamItemDetails_t_140 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_140(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_140(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_140 *win = (struct winSteamItemDetails_t_140 *)w; @@ -524,7 +496,7 @@ void win_to_lin_struct_SteamItemDetails_t_140(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_140(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_140(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_140 *win = (struct winSteamItemDetails_t_140 *)w; @@ -559,7 +531,7 @@ struct winCSteamAPIContext_140 { ISteamVideo * m_pSteamVideo; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_140(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_140(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_140 *win = (struct winCSteamAPIContext_140 *)w; @@ -586,7 +558,7 @@ void win_to_lin_struct_CSteamAPIContext_140(void *w, void *l) lin->m_pSteamVideo = win->m_pSteamVideo; } -void lin_to_win_struct_CSteamAPIContext_140(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_140(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_140 *win = (struct winCSteamAPIContext_140 *)w; @@ -613,111 +585,5 @@ void lin_to_win_struct_CSteamAPIContext_140(void *l, void *w) win->m_pSteamVideo = lin->m_pSteamVideo; } -#pragma pack( push, 8 ) -struct winCCallbackBase_140 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_140(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_140 *win = (struct winCCallbackBase_140 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_140(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_140 *win = (struct winCCallbackBase_140 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_140 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_140 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_140 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_140 *win = (struct winValvePackingSentinel_t_140 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_140.h b/lsteamclient/struct_converters_140.h index 07a76fd5..fe0e456e 100644 --- a/lsteamclient/struct_converters_140.h +++ b/lsteamclient/struct_converters_140.h @@ -1,57 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_140(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_140(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_140(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_140(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_140(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_140(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_140(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_140(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_140(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_140(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_140(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_140(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_140(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_140(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_140(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_140(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_140(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_140(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_140(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_140(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_140(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_140(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_140(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_140(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_140(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_140(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_140(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_140(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_140(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_140(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_140(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_140(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_140(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_140(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_140(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_140(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_140(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_140(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_140(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_140(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_140(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_140(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_140(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_140(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_140(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_140(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_140(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_140(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_140(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_140(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_140(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_140(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_140(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_140(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_140(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_140(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_140(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_140(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_140(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_140(const void *l, void *w); diff --git a/lsteamclient/struct_converters_141.cpp b/lsteamclient/struct_converters_141.cpp index df8399db..5760b5b6 100644 --- a/lsteamclient/struct_converters_141.cpp +++ b/lsteamclient/struct_converters_141.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_141/isteamgameserverstats.h" #include "steamworks_sdk_141/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_141 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_141 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_141 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_141(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_141(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_141 *win = (struct winCallbackMsg_t_141 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_141(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_141(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_141(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_141 *win = (struct winCallbackMsg_t_141 *)w; @@ -70,7 +42,7 @@ struct winFriendGameInfo_t_141 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_141(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_141(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_141 *win = (struct winFriendGameInfo_t_141 *)w; @@ -81,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_141(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_141(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_141(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_141 *win = (struct winFriendGameInfo_t_141 *)w; @@ -98,7 +70,7 @@ struct winFriendSessionStateInfo_t_141 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_141(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_141(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_141 *win = (struct winFriendSessionStateInfo_t_141 *)w; @@ -106,7 +78,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_141(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_141(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_141(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_141 *win = (struct winFriendSessionStateInfo_t_141 *)w; @@ -121,7 +93,7 @@ struct winservernetadr_t_141 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_141(void *w, void *l) +void win_to_lin_struct_servernetadr_t_141(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_141 *win = (struct winservernetadr_t_141 *)w; @@ -130,7 +102,7 @@ void win_to_lin_struct_servernetadr_t_141(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_141(void *l, void *w) +void lin_to_win_struct_servernetadr_t_141(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_141 *win = (struct winservernetadr_t_141 *)w; @@ -161,7 +133,7 @@ struct wingameserveritem_t_141 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_141(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_141(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_141 *win = (struct wingameserveritem_t_141 *)w; @@ -185,7 +157,7 @@ void win_to_lin_struct_gameserveritem_t_141(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_141(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_141(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_141 *win = (struct wingameserveritem_t_141 *)w; @@ -215,7 +187,7 @@ struct winSteamParamStringArray_t_141 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_141(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_141(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_141 *win = (struct winSteamParamStringArray_t_141 *)w; @@ -223,7 +195,7 @@ void win_to_lin_struct_SteamParamStringArray_t_141(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_141(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_141(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_141 *win = (struct winSteamParamStringArray_t_141 *)w; @@ -240,7 +212,7 @@ struct winLeaderboardEntry_t_141 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_141(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_141(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_141 *win = (struct winLeaderboardEntry_t_141 *)w; @@ -251,7 +223,7 @@ void win_to_lin_struct_LeaderboardEntry_t_141(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_141(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_141(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_141 *win = (struct winLeaderboardEntry_t_141 *)w; @@ -274,7 +246,7 @@ struct winP2PSessionState_t_141 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_141(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_141(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_141 *win = (struct winP2PSessionState_t_141 *)w; @@ -288,7 +260,7 @@ void win_to_lin_struct_P2PSessionState_t_141(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_141(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_141(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_141 *win = (struct winP2PSessionState_t_141 *)w; @@ -310,7 +282,7 @@ struct winSteamUnifiedMessagesSendMethodResult_t_24 { uint32 m_unResponseSize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamUnifiedMessagesSendMethodResult_t_24(void *l, void *w) +void cb_SteamUnifiedMessagesSendMethodResult_t_24(const void *l, void *w) { SteamUnifiedMessagesSendMethodResult_t *lin = (SteamUnifiedMessagesSendMethodResult_t *)l; struct winSteamUnifiedMessagesSendMethodResult_t_24 *win = (struct winSteamUnifiedMessagesSendMethodResult_t_24 *)w; @@ -328,7 +300,7 @@ struct winControllerAnalogActionData_t_141 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_141(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_141(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_141 *win = (struct winControllerAnalogActionData_t_141 *)w; @@ -338,7 +310,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_141(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_141(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_141(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_141 *win = (struct winControllerAnalogActionData_t_141 *)w; @@ -354,7 +326,7 @@ struct winControllerDigitalActionData_t_141 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_141(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_141(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_141 *win = (struct winControllerDigitalActionData_t_141 *)w; @@ -362,7 +334,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_141(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_141(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_141(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_141 *win = (struct winControllerDigitalActionData_t_141 *)w; @@ -384,7 +356,7 @@ struct winControllerMotionData_t_141 { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_141(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_141(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_141 *win = (struct winControllerMotionData_t_141 *)w; @@ -400,7 +372,7 @@ void win_to_lin_struct_ControllerMotionData_t_141(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_141(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_141(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_141 *win = (struct winControllerMotionData_t_141 *)w; @@ -446,7 +418,7 @@ struct winSteamUGCDetails_t_141 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_141(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_141(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_141 *win = (struct winSteamUGCDetails_t_141 *)w; @@ -478,7 +450,7 @@ void win_to_lin_struct_SteamUGCDetails_t_141(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_141(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_141(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_141 *win = (struct winSteamUGCDetails_t_141 *)w; @@ -518,7 +490,7 @@ struct winSteamItemDetails_t_141 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_141(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_141(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_141 *win = (struct winSteamItemDetails_t_141 *)w; @@ -528,7 +500,7 @@ void win_to_lin_struct_SteamItemDetails_t_141(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_141(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_141(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_141 *win = (struct winSteamItemDetails_t_141 *)w; @@ -564,7 +536,7 @@ struct winCSteamAPIContext_141 { ISteamParentalSettings * m_pSteamParentalSettings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_141(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_141(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_141 *win = (struct winCSteamAPIContext_141 *)w; @@ -592,7 +564,7 @@ void win_to_lin_struct_CSteamAPIContext_141(void *w, void *l) lin->m_pSteamParentalSettings = win->m_pSteamParentalSettings; } -void lin_to_win_struct_CSteamAPIContext_141(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_141(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_141 *win = (struct winCSteamAPIContext_141 *)w; @@ -620,139 +592,5 @@ void lin_to_win_struct_CSteamAPIContext_141(void *l, void *w) win->m_pSteamParentalSettings = lin->m_pSteamParentalSettings; } -#pragma pack( push, 8 ) -struct winCCallbackBase_141 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_141(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_141 *win = (struct winCCallbackBase_141 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_141(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_141 *win = (struct winCCallbackBase_141 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_141 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_141 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_141 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_141 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_141 *win = (struct winValvePackingSentinel_t_141 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_141.h b/lsteamclient/struct_converters_141.h index 39ba6f2c..4ad67646 100644 --- a/lsteamclient/struct_converters_141.h +++ b/lsteamclient/struct_converters_141.h @@ -1,60 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_141(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_141(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_141(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_141(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_141(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_141(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_141(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_141(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_141(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_141(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_141(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_141(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_141(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_141(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_141(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_141(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_141(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_141(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_141(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_141(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_141(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_141(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_141(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_141(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_141(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_141(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_141(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_141(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_141(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_141(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_141(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_141(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_141(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_141(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_141(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_141(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_141(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_141(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_141(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_141(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_141(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_141(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_141(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_141(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_141(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_141(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_141(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_141(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_141(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_141(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_141(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_141(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_141(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_141(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_141(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_141(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_141(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_141(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_141(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_141(const void *l, void *w); diff --git a/lsteamclient/struct_converters_142.cpp b/lsteamclient/struct_converters_142.cpp index 2b641c66..79a72dd0 100644 --- a/lsteamclient/struct_converters_142.cpp +++ b/lsteamclient/struct_converters_142.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_142/isteamgameserverstats.h" #include "steamworks_sdk_142/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_142 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winCallbackMsg_t_142 { HSteamUser m_hSteamUser; @@ -41,7 +13,7 @@ struct winCallbackMsg_t_142 { int m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_142(void *w, void *l) +void win_to_lin_struct_CallbackMsg_t_142(const void *w, void *l) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_142 *win = (struct winCallbackMsg_t_142 *)w; @@ -51,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_142(void *w, void *l) lin->m_cubParam = win->m_cubParam; } -void lin_to_win_struct_CallbackMsg_t_142(void *l, void *w) +void lin_to_win_struct_CallbackMsg_t_142(const void *l, void *w) { CallbackMsg_t *lin = (CallbackMsg_t *)l; struct winCallbackMsg_t_142 *win = (struct winCallbackMsg_t_142 *)w; @@ -65,7 +37,7 @@ void lin_to_win_struct_CallbackMsg_t_142(void *l, void *w) struct winSteamServersConnected_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamServersConnected_t_1(void *l, void *w) +void cb_SteamServersConnected_t_1(const void *l, void *w) { SteamServersConnected_t *lin = (SteamServersConnected_t *)l; struct winSteamServersConnected_t_1 *win = (struct winSteamServersConnected_t_1 *)w; @@ -77,7 +49,7 @@ struct winSteamServerConnectFailure_t_8 { bool m_bStillRetrying; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamServerConnectFailure_t_8(void *l, void *w) +void cb_SteamServerConnectFailure_t_8(const void *l, void *w) { SteamServerConnectFailure_t *lin = (SteamServerConnectFailure_t *)l; struct winSteamServerConnectFailure_t_8 *win = (struct winSteamServerConnectFailure_t_8 *)w; @@ -90,7 +62,7 @@ struct winSteamServersDisconnected_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamServersDisconnected_t_4(void *l, void *w) +void cb_SteamServersDisconnected_t_4(const void *l, void *w) { SteamServersDisconnected_t *lin = (SteamServersDisconnected_t *)l; struct winSteamServersDisconnected_t_4 *win = (struct winSteamServersDisconnected_t_4 *)w; @@ -106,7 +78,7 @@ struct winClientGameServerDeny_t_16 { uint32 m_uReason; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ClientGameServerDeny_t_16(void *l, void *w) +void cb_ClientGameServerDeny_t_16(const void *l, void *w) { ClientGameServerDeny_t *lin = (ClientGameServerDeny_t *)l; struct winClientGameServerDeny_t_16 *win = (struct winClientGameServerDeny_t_16 *)w; @@ -122,7 +94,7 @@ struct winIPCFailure_t_1 { uint8 m_eFailureType; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_IPCFailure_t_1(void *l, void *w) +void cb_IPCFailure_t_1(const void *l, void *w) { IPCFailure_t *lin = (IPCFailure_t *)l; struct winIPCFailure_t_1 *win = (struct winIPCFailure_t_1 *)w; @@ -133,7 +105,7 @@ void cb_IPCFailure_t_1(void *l, void *w) struct winLicensesUpdated_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LicensesUpdated_t_1(void *l, void *w) +void cb_LicensesUpdated_t_1(const void *l, void *w) { LicensesUpdated_t *lin = (LicensesUpdated_t *)l; struct winLicensesUpdated_t_1 *win = (struct winLicensesUpdated_t_1 *)w; @@ -146,7 +118,7 @@ struct winValidateAuthTicketResponse_t_20 { CSteamID m_OwnerSteamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ValidateAuthTicketResponse_t_20(void *l, void *w) +void cb_ValidateAuthTicketResponse_t_20(const void *l, void *w) { ValidateAuthTicketResponse_t *lin = (ValidateAuthTicketResponse_t *)l; struct winValidateAuthTicketResponse_t_20 *win = (struct winValidateAuthTicketResponse_t_20 *)w; @@ -162,7 +134,7 @@ struct winMicroTxnAuthorizationResponse_t_16 { uint8 m_bAuthorized; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MicroTxnAuthorizationResponse_t_16(void *l, void *w) +void cb_MicroTxnAuthorizationResponse_t_16(const void *l, void *w) { MicroTxnAuthorizationResponse_t *lin = (MicroTxnAuthorizationResponse_t *)l; struct winMicroTxnAuthorizationResponse_t_16 *win = (struct winMicroTxnAuthorizationResponse_t_16 *)w; @@ -176,7 +148,7 @@ struct winEncryptedAppTicketResponse_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_EncryptedAppTicketResponse_t_4(void *l, void *w) +void cb_EncryptedAppTicketResponse_t_4(const void *l, void *w) { EncryptedAppTicketResponse_t *lin = (EncryptedAppTicketResponse_t *)l; struct winEncryptedAppTicketResponse_t_4 *win = (struct winEncryptedAppTicketResponse_t_4 *)w; @@ -189,7 +161,7 @@ struct winGetAuthSessionTicketResponse_t_8 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GetAuthSessionTicketResponse_t_8(void *l, void *w) +void cb_GetAuthSessionTicketResponse_t_8(const void *l, void *w) { GetAuthSessionTicketResponse_t *lin = (GetAuthSessionTicketResponse_t *)l; struct winGetAuthSessionTicketResponse_t_8 *win = (struct winGetAuthSessionTicketResponse_t_8 *)w; @@ -202,7 +174,7 @@ struct winGameWebCallback_t_256 { char m_szURL[256]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameWebCallback_t_256(void *l, void *w) +void cb_GameWebCallback_t_256(const void *l, void *w) { GameWebCallback_t *lin = (GameWebCallback_t *)l; struct winGameWebCallback_t_256 *win = (struct winGameWebCallback_t_256 *)w; @@ -214,7 +186,7 @@ struct winStoreAuthURLResponse_t_512 { char m_szURL[512]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_StoreAuthURLResponse_t_512(void *l, void *w) +void cb_StoreAuthURLResponse_t_512(const void *l, void *w) { StoreAuthURLResponse_t *lin = (StoreAuthURLResponse_t *)l; struct winStoreAuthURLResponse_t_512 *win = (struct winStoreAuthURLResponse_t_512 *)w; @@ -230,7 +202,7 @@ struct winFriendGameInfo_t_142 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_142(void *w, void *l) +void win_to_lin_struct_FriendGameInfo_t_142(const void *w, void *l) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_142 *win = (struct winFriendGameInfo_t_142 *)w; @@ -241,7 +213,7 @@ void win_to_lin_struct_FriendGameInfo_t_142(void *w, void *l) lin->m_steamIDLobby = win->m_steamIDLobby; } -void lin_to_win_struct_FriendGameInfo_t_142(void *l, void *w) +void lin_to_win_struct_FriendGameInfo_t_142(const void *l, void *w) { FriendGameInfo_t *lin = (FriendGameInfo_t *)l; struct winFriendGameInfo_t_142 *win = (struct winFriendGameInfo_t_142 *)w; @@ -258,7 +230,7 @@ struct winFriendSessionStateInfo_t_142 { uint8 m_uiPublishedToFriendsSessionInstance; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_142(void *w, void *l) +void win_to_lin_struct_FriendSessionStateInfo_t_142(const void *w, void *l) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_142 *win = (struct winFriendSessionStateInfo_t_142 *)w; @@ -266,7 +238,7 @@ void win_to_lin_struct_FriendSessionStateInfo_t_142(void *w, void *l) lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; } -void lin_to_win_struct_FriendSessionStateInfo_t_142(void *l, void *w) +void lin_to_win_struct_FriendSessionStateInfo_t_142(const void *l, void *w) { FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; struct winFriendSessionStateInfo_t_142 *win = (struct winFriendSessionStateInfo_t_142 *)w; @@ -280,7 +252,7 @@ struct winPersonaStateChange_t_12 { int m_nChangeFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_PersonaStateChange_t_12(void *l, void *w) +void cb_PersonaStateChange_t_12(const void *l, void *w) { PersonaStateChange_t *lin = (PersonaStateChange_t *)l; struct winPersonaStateChange_t_12 *win = (struct winPersonaStateChange_t_12 *)w; @@ -293,7 +265,7 @@ struct winGameOverlayActivated_t_1 { uint8 m_bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameOverlayActivated_t_1(void *l, void *w) +void cb_GameOverlayActivated_t_1(const void *l, void *w) { GameOverlayActivated_t *lin = (GameOverlayActivated_t *)l; struct winGameOverlayActivated_t_1 *win = (struct winGameOverlayActivated_t_1 *)w; @@ -306,7 +278,7 @@ struct winGameServerChangeRequested_t_128 { char m_rgchPassword[64]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameServerChangeRequested_t_128(void *l, void *w) +void cb_GameServerChangeRequested_t_128(const void *l, void *w) { GameServerChangeRequested_t *lin = (GameServerChangeRequested_t *)l; struct winGameServerChangeRequested_t_128 *win = (struct winGameServerChangeRequested_t_128 *)w; @@ -320,7 +292,7 @@ struct winGameLobbyJoinRequested_t_16 { CSteamID m_steamIDFriend; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameLobbyJoinRequested_t_16(void *l, void *w) +void cb_GameLobbyJoinRequested_t_16(const void *l, void *w) { GameLobbyJoinRequested_t *lin = (GameLobbyJoinRequested_t *)l; struct winGameLobbyJoinRequested_t_16 *win = (struct winGameLobbyJoinRequested_t_16 *)w; @@ -336,7 +308,7 @@ struct winAvatarImageLoaded_t_20 { int m_iTall; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AvatarImageLoaded_t_20(void *l, void *w) +void cb_AvatarImageLoaded_t_20(const void *l, void *w) { AvatarImageLoaded_t *lin = (AvatarImageLoaded_t *)l; struct winAvatarImageLoaded_t_20 *win = (struct winAvatarImageLoaded_t_20 *)w; @@ -353,7 +325,7 @@ struct winClanOfficerListResponse_t_16 { uint8 m_bSuccess; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ClanOfficerListResponse_t_16(void *l, void *w) +void cb_ClanOfficerListResponse_t_16(const void *l, void *w) { ClanOfficerListResponse_t *lin = (ClanOfficerListResponse_t *)l; struct winClanOfficerListResponse_t_16 *win = (struct winClanOfficerListResponse_t_16 *)w; @@ -368,7 +340,7 @@ struct winFriendRichPresenceUpdate_t_12 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FriendRichPresenceUpdate_t_12(void *l, void *w) +void cb_FriendRichPresenceUpdate_t_12(const void *l, void *w) { FriendRichPresenceUpdate_t *lin = (FriendRichPresenceUpdate_t *)l; struct winFriendRichPresenceUpdate_t_12 *win = (struct winFriendRichPresenceUpdate_t_12 *)w; @@ -382,7 +354,7 @@ struct winGameRichPresenceJoinRequested_t_264 { char m_rgchConnect[256]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameRichPresenceJoinRequested_t_264(void *l, void *w) +void cb_GameRichPresenceJoinRequested_t_264(const void *l, void *w) { GameRichPresenceJoinRequested_t *lin = (GameRichPresenceJoinRequested_t *)l; struct winGameRichPresenceJoinRequested_t_264 *win = (struct winGameRichPresenceJoinRequested_t_264 *)w; @@ -397,7 +369,7 @@ struct winGameConnectedClanChatMsg_t_20 { int m_iMessageID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameConnectedClanChatMsg_t_20(void *l, void *w) +void cb_GameConnectedClanChatMsg_t_20(const void *l, void *w) { GameConnectedClanChatMsg_t *lin = (GameConnectedClanChatMsg_t *)l; struct winGameConnectedClanChatMsg_t_20 *win = (struct winGameConnectedClanChatMsg_t_20 *)w; @@ -412,7 +384,7 @@ struct winGameConnectedChatJoin_t_16 { CSteamID m_steamIDUser; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameConnectedChatJoin_t_16(void *l, void *w) +void cb_GameConnectedChatJoin_t_16(const void *l, void *w) { GameConnectedChatJoin_t *lin = (GameConnectedChatJoin_t *)l; struct winGameConnectedChatJoin_t_16 *win = (struct winGameConnectedChatJoin_t_16 *)w; @@ -428,7 +400,7 @@ struct winGameConnectedChatLeave_t_18 { bool m_bDropped; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameConnectedChatLeave_t_18(void *l, void *w) +void cb_GameConnectedChatLeave_t_18(const void *l, void *w) { GameConnectedChatLeave_t *lin = (GameConnectedChatLeave_t *)l; struct winGameConnectedChatLeave_t_18 *win = (struct winGameConnectedChatLeave_t_18 *)w; @@ -443,7 +415,7 @@ struct winDownloadClanActivityCountsResult_t_1 { bool m_bSuccess; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_DownloadClanActivityCountsResult_t_1(void *l, void *w) +void cb_DownloadClanActivityCountsResult_t_1(const void *l, void *w) { DownloadClanActivityCountsResult_t *lin = (DownloadClanActivityCountsResult_t *)l; struct winDownloadClanActivityCountsResult_t_1 *win = (struct winDownloadClanActivityCountsResult_t_1 *)w; @@ -456,7 +428,7 @@ struct winJoinClanChatRoomCompletionResult_t_12 { EChatRoomEnterResponse m_eChatRoomEnterResponse; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_JoinClanChatRoomCompletionResult_t_12(void *l, void *w) +void cb_JoinClanChatRoomCompletionResult_t_12(const void *l, void *w) { JoinClanChatRoomCompletionResult_t *lin = (JoinClanChatRoomCompletionResult_t *)l; struct winJoinClanChatRoomCompletionResult_t_12 *win = (struct winJoinClanChatRoomCompletionResult_t_12 *)w; @@ -470,7 +442,7 @@ struct winGameConnectedFriendChatMsg_t_12 { int m_iMessageID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GameConnectedFriendChatMsg_t_12(void *l, void *w) +void cb_GameConnectedFriendChatMsg_t_12(const void *l, void *w) { GameConnectedFriendChatMsg_t *lin = (GameConnectedFriendChatMsg_t *)l; struct winGameConnectedFriendChatMsg_t_12 *win = (struct winGameConnectedFriendChatMsg_t_12 *)w; @@ -485,7 +457,7 @@ struct winFriendsGetFollowerCount_t_16 { int m_nCount; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FriendsGetFollowerCount_t_16(void *l, void *w) +void cb_FriendsGetFollowerCount_t_16(const void *l, void *w) { FriendsGetFollowerCount_t *lin = (FriendsGetFollowerCount_t *)l; struct winFriendsGetFollowerCount_t_16 *win = (struct winFriendsGetFollowerCount_t_16 *)w; @@ -501,7 +473,7 @@ struct winFriendsIsFollowing_t_16 { bool m_bIsFollowing; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FriendsIsFollowing_t_16(void *l, void *w) +void cb_FriendsIsFollowing_t_16(const void *l, void *w) { FriendsIsFollowing_t *lin = (FriendsIsFollowing_t *)l; struct winFriendsIsFollowing_t_16 *win = (struct winFriendsIsFollowing_t_16 *)w; @@ -518,7 +490,7 @@ struct winFriendsEnumerateFollowingList_t_412 { int32 m_nTotalResultCount; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FriendsEnumerateFollowingList_t_412(void *l, void *w) +void cb_FriendsEnumerateFollowingList_t_412(const void *l, void *w) { FriendsEnumerateFollowingList_t *lin = (FriendsEnumerateFollowingList_t *)l; struct winFriendsEnumerateFollowingList_t_412 *win = (struct winFriendsEnumerateFollowingList_t_412 *)w; @@ -535,7 +507,7 @@ struct winSetPersonaNameResponse_t_8 { EResult m_result; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SetPersonaNameResponse_t_8(void *l, void *w) +void cb_SetPersonaNameResponse_t_8(const void *l, void *w) { SetPersonaNameResponse_t *lin = (SetPersonaNameResponse_t *)l; struct winSetPersonaNameResponse_t_8 *win = (struct winSetPersonaNameResponse_t_8 *)w; @@ -548,7 +520,7 @@ void cb_SetPersonaNameResponse_t_8(void *l, void *w) struct winIPCountry_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_IPCountry_t_1(void *l, void *w) +void cb_IPCountry_t_1(const void *l, void *w) { IPCountry_t *lin = (IPCountry_t *)l; struct winIPCountry_t_1 *win = (struct winIPCountry_t_1 *)w; @@ -559,7 +531,7 @@ struct winLowBatteryPower_t_1 { uint8 m_nMinutesBatteryLeft; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LowBatteryPower_t_1(void *l, void *w) +void cb_LowBatteryPower_t_1(const void *l, void *w) { LowBatteryPower_t *lin = (LowBatteryPower_t *)l; struct winLowBatteryPower_t_1 *win = (struct winLowBatteryPower_t_1 *)w; @@ -573,7 +545,7 @@ struct winSteamAPICallCompleted_t_16 { uint32 m_cubParam; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamAPICallCompleted_t_16(void *l, void *w) +void cb_SteamAPICallCompleted_t_16(const void *l, void *w) { SteamAPICallCompleted_t *lin = (SteamAPICallCompleted_t *)l; struct winSteamAPICallCompleted_t_16 *win = (struct winSteamAPICallCompleted_t_16 *)w; @@ -586,7 +558,7 @@ void cb_SteamAPICallCompleted_t_16(void *l, void *w) struct winSteamShutdown_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamShutdown_t_1(void *l, void *w) +void cb_SteamShutdown_t_1(const void *l, void *w) { SteamShutdown_t *lin = (SteamShutdown_t *)l; struct winSteamShutdown_t_1 *win = (struct winSteamShutdown_t_1 *)w; @@ -597,7 +569,7 @@ struct winCheckFileSignature_t_4 { ECheckFileSignature m_eCheckFileSignature; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_CheckFileSignature_t_4(void *l, void *w) +void cb_CheckFileSignature_t_4(const void *l, void *w) { CheckFileSignature_t *lin = (CheckFileSignature_t *)l; struct winCheckFileSignature_t_4 *win = (struct winCheckFileSignature_t_4 *)w; @@ -610,7 +582,7 @@ struct winGamepadTextInputDismissed_t_8 { uint32 m_unSubmittedText; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GamepadTextInputDismissed_t_8(void *l, void *w) +void cb_GamepadTextInputDismissed_t_8(const void *l, void *w) { GamepadTextInputDismissed_t *lin = (GamepadTextInputDismissed_t *)l; struct winGamepadTextInputDismissed_t_8 *win = (struct winGamepadTextInputDismissed_t_8 *)w; @@ -625,7 +597,7 @@ struct winservernetadr_t_142 { uint32 m_unIP; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_142(void *w, void *l) +void win_to_lin_struct_servernetadr_t_142(const void *w, void *l) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_142 *win = (struct winservernetadr_t_142 *)w; @@ -634,7 +606,7 @@ void win_to_lin_struct_servernetadr_t_142(void *w, void *l) lin->m_unIP = win->m_unIP; } -void lin_to_win_struct_servernetadr_t_142(void *l, void *w) +void lin_to_win_struct_servernetadr_t_142(const void *l, void *w) { servernetadr_t *lin = (servernetadr_t *)l; struct winservernetadr_t_142 *win = (struct winservernetadr_t_142 *)w; @@ -665,7 +637,7 @@ struct wingameserveritem_t_142 { CSteamID m_steamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_142(void *w, void *l) +void win_to_lin_struct_gameserveritem_t_142(const void *w, void *l) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_142 *win = (struct wingameserveritem_t_142 *)w; @@ -689,7 +661,7 @@ void win_to_lin_struct_gameserveritem_t_142(void *w, void *l) lin->m_steamID = win->m_steamID; } -void lin_to_win_struct_gameserveritem_t_142(void *l, void *w) +void lin_to_win_struct_gameserveritem_t_142(const void *l, void *w) { gameserveritem_t *lin = (gameserveritem_t *)l; struct wingameserveritem_t_142 *win = (struct wingameserveritem_t_142 *)w; @@ -724,7 +696,7 @@ struct winFavoritesListChanged_t_28 { AccountID_t m_unAccountId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FavoritesListChanged_t_28(void *l, void *w) +void cb_FavoritesListChanged_t_28(const void *l, void *w) { FavoritesListChanged_t *lin = (FavoritesListChanged_t *)l; struct winFavoritesListChanged_t_28 *win = (struct winFavoritesListChanged_t_28 *)w; @@ -744,7 +716,7 @@ struct winLobbyInvite_t_24 { uint64 m_ulGameID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyInvite_t_24(void *l, void *w) +void cb_LobbyInvite_t_24(const void *l, void *w) { LobbyInvite_t *lin = (LobbyInvite_t *)l; struct winLobbyInvite_t_24 *win = (struct winLobbyInvite_t_24 *)w; @@ -761,7 +733,7 @@ struct winLobbyEnter_t_20 { uint32 m_EChatRoomEnterResponse; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyEnter_t_20(void *l, void *w) +void cb_LobbyEnter_t_20(const void *l, void *w) { LobbyEnter_t *lin = (LobbyEnter_t *)l; struct winLobbyEnter_t_20 *win = (struct winLobbyEnter_t_20 *)w; @@ -778,7 +750,7 @@ struct winLobbyDataUpdate_t_20 { uint8 m_bSuccess; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyDataUpdate_t_20(void *l, void *w) +void cb_LobbyDataUpdate_t_20(const void *l, void *w) { LobbyDataUpdate_t *lin = (LobbyDataUpdate_t *)l; struct winLobbyDataUpdate_t_20 *win = (struct winLobbyDataUpdate_t_20 *)w; @@ -795,7 +767,7 @@ struct winLobbyChatUpdate_t_28 { uint32 m_rgfChatMemberStateChange; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyChatUpdate_t_28(void *l, void *w) +void cb_LobbyChatUpdate_t_28(const void *l, void *w) { LobbyChatUpdate_t *lin = (LobbyChatUpdate_t *)l; struct winLobbyChatUpdate_t_28 *win = (struct winLobbyChatUpdate_t_28 *)w; @@ -813,7 +785,7 @@ struct winLobbyChatMsg_t_24 { uint32 m_iChatID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyChatMsg_t_24(void *l, void *w) +void cb_LobbyChatMsg_t_24(const void *l, void *w) { LobbyChatMsg_t *lin = (LobbyChatMsg_t *)l; struct winLobbyChatMsg_t_24 *win = (struct winLobbyChatMsg_t_24 *)w; @@ -831,7 +803,7 @@ struct winLobbyGameCreated_t_24 { uint16 m_usPort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyGameCreated_t_24(void *l, void *w) +void cb_LobbyGameCreated_t_24(const void *l, void *w) { LobbyGameCreated_t *lin = (LobbyGameCreated_t *)l; struct winLobbyGameCreated_t_24 *win = (struct winLobbyGameCreated_t_24 *)w; @@ -846,7 +818,7 @@ struct winLobbyMatchList_t_4 { uint32 m_nLobbiesMatching; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyMatchList_t_4(void *l, void *w) +void cb_LobbyMatchList_t_4(const void *l, void *w) { LobbyMatchList_t *lin = (LobbyMatchList_t *)l; struct winLobbyMatchList_t_4 *win = (struct winLobbyMatchList_t_4 *)w; @@ -860,7 +832,7 @@ struct winLobbyKicked_t_20 { uint8 m_bKickedDueToDisconnect; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyKicked_t_20(void *l, void *w) +void cb_LobbyKicked_t_20(const void *l, void *w) { LobbyKicked_t *lin = (LobbyKicked_t *)l; struct winLobbyKicked_t_20 *win = (struct winLobbyKicked_t_20 *)w; @@ -875,7 +847,7 @@ struct winLobbyCreated_t_12 { uint64 m_ulSteamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LobbyCreated_t_12(void *l, void *w) +void cb_LobbyCreated_t_12(const void *l, void *w) { LobbyCreated_t *lin = (LobbyCreated_t *)l; struct winLobbyCreated_t_12 *win = (struct winLobbyCreated_t_12 *)w; @@ -889,7 +861,7 @@ struct winPSNGameBootInviteResult_t_9 { CSteamID m_steamIDLobby; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_PSNGameBootInviteResult_t_9(void *l, void *w) +void cb_PSNGameBootInviteResult_t_9(const void *l, void *w) { PSNGameBootInviteResult_t *lin = (PSNGameBootInviteResult_t *)l; struct winPSNGameBootInviteResult_t_9 *win = (struct winPSNGameBootInviteResult_t_9 *)w; @@ -902,7 +874,7 @@ struct winFavoritesListAccountsUpdated_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FavoritesListAccountsUpdated_t_4(void *l, void *w) +void cb_FavoritesListAccountsUpdated_t_4(const void *l, void *w) { FavoritesListAccountsUpdated_t *lin = (FavoritesListAccountsUpdated_t *)l; struct winFavoritesListAccountsUpdated_t_4 *win = (struct winFavoritesListAccountsUpdated_t_4 *)w; @@ -915,7 +887,7 @@ struct winSteamParamStringArray_t_142 { int32 m_nNumStrings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_142(void *w, void *l) +void win_to_lin_struct_SteamParamStringArray_t_142(const void *w, void *l) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_142 *win = (struct winSteamParamStringArray_t_142 *)w; @@ -923,7 +895,7 @@ void win_to_lin_struct_SteamParamStringArray_t_142(void *w, void *l) lin->m_nNumStrings = win->m_nNumStrings; } -void lin_to_win_struct_SteamParamStringArray_t_142(void *l, void *w) +void lin_to_win_struct_SteamParamStringArray_t_142(const void *l, void *w) { SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; struct winSteamParamStringArray_t_142 *win = (struct winSteamParamStringArray_t_142 *)w; @@ -938,7 +910,7 @@ struct winRemoteStorageAppSyncedClient_t_12 { int m_unNumDownloads; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageAppSyncedClient_t_12(void *l, void *w) +void cb_RemoteStorageAppSyncedClient_t_12(const void *l, void *w) { RemoteStorageAppSyncedClient_t *lin = (RemoteStorageAppSyncedClient_t *)l; struct winRemoteStorageAppSyncedClient_t_12 *win = (struct winRemoteStorageAppSyncedClient_t_12 *)w; @@ -954,7 +926,7 @@ struct winRemoteStorageAppSyncedServer_t_12 { int m_unNumUploads; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageAppSyncedServer_t_12(void *l, void *w) +void cb_RemoteStorageAppSyncedServer_t_12(const void *l, void *w) { RemoteStorageAppSyncedServer_t *lin = (RemoteStorageAppSyncedServer_t *)l; struct winRemoteStorageAppSyncedServer_t_12 *win = (struct winRemoteStorageAppSyncedServer_t_12 *)w; @@ -972,7 +944,7 @@ struct winRemoteStorageAppSyncProgress_t_280 { bool m_bUploading; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageAppSyncProgress_t_280(void *l, void *w) +void cb_RemoteStorageAppSyncProgress_t_280(const void *l, void *w) { RemoteStorageAppSyncProgress_t *lin = (RemoteStorageAppSyncProgress_t *)l; struct winRemoteStorageAppSyncProgress_t_280 *win = (struct winRemoteStorageAppSyncProgress_t_280 *)w; @@ -989,7 +961,7 @@ struct winRemoteStorageAppSyncStatusCheck_t_8 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageAppSyncStatusCheck_t_8(void *l, void *w) +void cb_RemoteStorageAppSyncStatusCheck_t_8(const void *l, void *w) { RemoteStorageAppSyncStatusCheck_t *lin = (RemoteStorageAppSyncStatusCheck_t *)l; struct winRemoteStorageAppSyncStatusCheck_t_8 *win = (struct winRemoteStorageAppSyncStatusCheck_t_8 *)w; @@ -1004,7 +976,7 @@ struct winRemoteStorageFileShareResult_t_272 { char m_rgchFilename[260]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_272(void *l, void *w) +void cb_RemoteStorageFileShareResult_t_272(const void *l, void *w) { RemoteStorageFileShareResult_t *lin = (RemoteStorageFileShareResult_t *)l; struct winRemoteStorageFileShareResult_t_272 *win = (struct winRemoteStorageFileShareResult_t_272 *)w; @@ -1020,7 +992,7 @@ struct winRemoteStoragePublishFileResult_t_16 { bool m_bUserNeedsToAcceptWorkshopLegalAgreement; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_16(void *l, void *w) +void cb_RemoteStoragePublishFileResult_t_16(const void *l, void *w) { RemoteStoragePublishFileResult_t *lin = (RemoteStoragePublishFileResult_t *)l; struct winRemoteStoragePublishFileResult_t_16 *win = (struct winRemoteStoragePublishFileResult_t_16 *)w; @@ -1035,7 +1007,7 @@ struct winRemoteStorageDeletePublishedFileResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageDeletePublishedFileResult_t_12(void *l, void *w) +void cb_RemoteStorageDeletePublishedFileResult_t_12(const void *l, void *w) { RemoteStorageDeletePublishedFileResult_t *lin = (RemoteStorageDeletePublishedFileResult_t *)l; struct winRemoteStorageDeletePublishedFileResult_t_12 *win = (struct winRemoteStorageDeletePublishedFileResult_t_12 *)w; @@ -1051,7 +1023,7 @@ struct winRemoteStorageEnumerateUserPublishedFilesResult_t_412 { PublishedFileId_t m_rgPublishedFileId[50]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_412(void *l, void *w) +void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_412(const void *l, void *w) { RemoteStorageEnumerateUserPublishedFilesResult_t *lin = (RemoteStorageEnumerateUserPublishedFilesResult_t *)l; struct winRemoteStorageEnumerateUserPublishedFilesResult_t_412 *win = (struct winRemoteStorageEnumerateUserPublishedFilesResult_t_412 *)w; @@ -1067,7 +1039,7 @@ struct winRemoteStorageSubscribePublishedFileResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageSubscribePublishedFileResult_t_12(void *l, void *w) +void cb_RemoteStorageSubscribePublishedFileResult_t_12(const void *l, void *w) { RemoteStorageSubscribePublishedFileResult_t *lin = (RemoteStorageSubscribePublishedFileResult_t *)l; struct winRemoteStorageSubscribePublishedFileResult_t_12 *win = (struct winRemoteStorageSubscribePublishedFileResult_t_12 *)w; @@ -1084,7 +1056,7 @@ struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_612 { uint32 m_rgRTimeSubscribed[50]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_612(void *l, void *w) +void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_612(const void *l, void *w) { RemoteStorageEnumerateUserSubscribedFilesResult_t *lin = (RemoteStorageEnumerateUserSubscribedFilesResult_t *)l; struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_612 *win = (struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_612 *)w; @@ -1101,7 +1073,7 @@ struct winRemoteStorageUnsubscribePublishedFileResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUnsubscribePublishedFileResult_t_12(void *l, void *w) +void cb_RemoteStorageUnsubscribePublishedFileResult_t_12(const void *l, void *w) { RemoteStorageUnsubscribePublishedFileResult_t *lin = (RemoteStorageUnsubscribePublishedFileResult_t *)l; struct winRemoteStorageUnsubscribePublishedFileResult_t_12 *win = (struct winRemoteStorageUnsubscribePublishedFileResult_t_12 *)w; @@ -1116,7 +1088,7 @@ struct winRemoteStorageUpdatePublishedFileResult_t_16 { bool m_bUserNeedsToAcceptWorkshopLegalAgreement; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_16(void *l, void *w) +void cb_RemoteStorageUpdatePublishedFileResult_t_16(const void *l, void *w) { RemoteStorageUpdatePublishedFileResult_t *lin = (RemoteStorageUpdatePublishedFileResult_t *)l; struct winRemoteStorageUpdatePublishedFileResult_t_16 *win = (struct winRemoteStorageUpdatePublishedFileResult_t_16 *)w; @@ -1135,7 +1107,7 @@ struct winRemoteStorageDownloadUGCResult_t_288 { uint64 m_ulSteamIDOwner; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_288(void *l, void *w) +void cb_RemoteStorageDownloadUGCResult_t_288(const void *l, void *w) { RemoteStorageDownloadUGCResult_t *lin = (RemoteStorageDownloadUGCResult_t *)l; struct winRemoteStorageDownloadUGCResult_t_288 *win = (struct winRemoteStorageDownloadUGCResult_t_288 *)w; @@ -1172,7 +1144,7 @@ struct winRemoteStorageGetPublishedFileDetailsResult_t_9748 { bool m_bAcceptedForUse; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9748(void *l, void *w) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_9748(const void *l, void *w) { RemoteStorageGetPublishedFileDetailsResult_t *lin = (RemoteStorageGetPublishedFileDetailsResult_t *)l; struct winRemoteStorageGetPublishedFileDetailsResult_t_9748 *win = (struct winRemoteStorageGetPublishedFileDetailsResult_t_9748 *)w; @@ -1210,7 +1182,7 @@ struct winRemoteStorageEnumerateWorkshopFilesResult_t_620 { uint32 m_unStartIndex; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_620(void *l, void *w) +void cb_RemoteStorageEnumerateWorkshopFilesResult_t_620(const void *l, void *w) { RemoteStorageEnumerateWorkshopFilesResult_t *lin = (RemoteStorageEnumerateWorkshopFilesResult_t *)l; struct winRemoteStorageEnumerateWorkshopFilesResult_t_620 *win = (struct winRemoteStorageEnumerateWorkshopFilesResult_t_620 *)w; @@ -1233,7 +1205,7 @@ struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_28 { float m_fScore; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_28(void *l, void *w) +void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_28(const void *l, void *w) { RemoteStorageGetPublishedItemVoteDetailsResult_t *lin = (RemoteStorageGetPublishedItemVoteDetailsResult_t *)l; struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_28 *win = (struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_28 *)w; @@ -1251,7 +1223,7 @@ struct winRemoteStoragePublishedFileSubscribed_t_12 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishedFileSubscribed_t_12(void *l, void *w) +void cb_RemoteStoragePublishedFileSubscribed_t_12(const void *l, void *w) { RemoteStoragePublishedFileSubscribed_t *lin = (RemoteStoragePublishedFileSubscribed_t *)l; struct winRemoteStoragePublishedFileSubscribed_t_12 *win = (struct winRemoteStoragePublishedFileSubscribed_t_12 *)w; @@ -1265,7 +1237,7 @@ struct winRemoteStoragePublishedFileUnsubscribed_t_12 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishedFileUnsubscribed_t_12(void *l, void *w) +void cb_RemoteStoragePublishedFileUnsubscribed_t_12(const void *l, void *w) { RemoteStoragePublishedFileUnsubscribed_t *lin = (RemoteStoragePublishedFileUnsubscribed_t *)l; struct winRemoteStoragePublishedFileUnsubscribed_t_12 *win = (struct winRemoteStoragePublishedFileUnsubscribed_t_12 *)w; @@ -1279,7 +1251,7 @@ struct winRemoteStoragePublishedFileDeleted_t_12 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishedFileDeleted_t_12(void *l, void *w) +void cb_RemoteStoragePublishedFileDeleted_t_12(const void *l, void *w) { RemoteStoragePublishedFileDeleted_t *lin = (RemoteStoragePublishedFileDeleted_t *)l; struct winRemoteStoragePublishedFileDeleted_t_12 *win = (struct winRemoteStoragePublishedFileDeleted_t_12 *)w; @@ -1293,7 +1265,7 @@ struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_12(void *l, void *w) +void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_12(const void *l, void *w) { RemoteStorageUpdateUserPublishedItemVoteResult_t *lin = (RemoteStorageUpdateUserPublishedItemVoteResult_t *)l; struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_12 *win = (struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_12 *)w; @@ -1308,7 +1280,7 @@ struct winRemoteStorageUserVoteDetails_t_16 { EWorkshopVote m_eVote; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageUserVoteDetails_t_16(void *l, void *w) +void cb_RemoteStorageUserVoteDetails_t_16(const void *l, void *w) { RemoteStorageUserVoteDetails_t *lin = (RemoteStorageUserVoteDetails_t *)l; struct winRemoteStorageUserVoteDetails_t_16 *win = (struct winRemoteStorageUserVoteDetails_t_16 *)w; @@ -1325,7 +1297,7 @@ struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_412 { PublishedFileId_t m_rgPublishedFileId[50]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_412(void *l, void *w) +void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_412(const void *l, void *w) { RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin = (RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *)l; struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_412 *win = (struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_412 *)w; @@ -1342,7 +1314,7 @@ struct winRemoteStorageSetUserPublishedFileActionResult_t_16 { EWorkshopFileAction m_eAction; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageSetUserPublishedFileActionResult_t_16(void *l, void *w) +void cb_RemoteStorageSetUserPublishedFileActionResult_t_16(const void *l, void *w) { RemoteStorageSetUserPublishedFileActionResult_t *lin = (RemoteStorageSetUserPublishedFileActionResult_t *)l; struct winRemoteStorageSetUserPublishedFileActionResult_t_16 *win = (struct winRemoteStorageSetUserPublishedFileActionResult_t_16 *)w; @@ -1361,7 +1333,7 @@ struct winRemoteStorageEnumeratePublishedFilesByUserActionResult_t_616 { uint32 m_rgRTimeUpdated[50]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageEnumeratePublishedFilesByUserActionResult_t_616(void *l, void *w) +void cb_RemoteStorageEnumeratePublishedFilesByUserActionResult_t_616(const void *l, void *w) { RemoteStorageEnumeratePublishedFilesByUserActionResult_t *lin = (RemoteStorageEnumeratePublishedFilesByUserActionResult_t *)l; struct winRemoteStorageEnumeratePublishedFilesByUserActionResult_t_616 *win = (struct winRemoteStorageEnumeratePublishedFilesByUserActionResult_t_616 *)w; @@ -1379,7 +1351,7 @@ struct winRemoteStoragePublishFileProgress_t_12 { bool m_bPreview; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishFileProgress_t_12(void *l, void *w) +void cb_RemoteStoragePublishFileProgress_t_12(const void *l, void *w) { RemoteStoragePublishFileProgress_t *lin = (RemoteStoragePublishFileProgress_t *)l; struct winRemoteStoragePublishFileProgress_t_12 *win = (struct winRemoteStoragePublishFileProgress_t_12 *)w; @@ -1394,7 +1366,7 @@ struct winRemoteStoragePublishedFileUpdated_t_20 { uint64 m_ulUnused; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStoragePublishedFileUpdated_t_20(void *l, void *w) +void cb_RemoteStoragePublishedFileUpdated_t_20(const void *l, void *w) { RemoteStoragePublishedFileUpdated_t *lin = (RemoteStoragePublishedFileUpdated_t *)l; struct winRemoteStoragePublishedFileUpdated_t_20 *win = (struct winRemoteStoragePublishedFileUpdated_t_20 *)w; @@ -1408,7 +1380,7 @@ struct winRemoteStorageFileWriteAsyncComplete_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageFileWriteAsyncComplete_t_4(void *l, void *w) +void cb_RemoteStorageFileWriteAsyncComplete_t_4(const void *l, void *w) { RemoteStorageFileWriteAsyncComplete_t *lin = (RemoteStorageFileWriteAsyncComplete_t *)l; struct winRemoteStorageFileWriteAsyncComplete_t_4 *win = (struct winRemoteStorageFileWriteAsyncComplete_t_4 *)w; @@ -1423,7 +1395,7 @@ struct winRemoteStorageFileReadAsyncComplete_t_20 { uint32 m_cubRead; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoteStorageFileReadAsyncComplete_t_20(void *l, void *w) +void cb_RemoteStorageFileReadAsyncComplete_t_20(const void *l, void *w) { RemoteStorageFileReadAsyncComplete_t *lin = (RemoteStorageFileReadAsyncComplete_t *)l; struct winRemoteStorageFileReadAsyncComplete_t_20 *win = (struct winRemoteStorageFileReadAsyncComplete_t_20 *)w; @@ -1442,7 +1414,7 @@ struct winLeaderboardEntry_t_142 { UGCHandle_t m_hUGC; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_142(void *w, void *l) +void win_to_lin_struct_LeaderboardEntry_t_142(const void *w, void *l) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_142 *win = (struct winLeaderboardEntry_t_142 *)w; @@ -1453,7 +1425,7 @@ void win_to_lin_struct_LeaderboardEntry_t_142(void *w, void *l) lin->m_hUGC = win->m_hUGC; } -void lin_to_win_struct_LeaderboardEntry_t_142(void *l, void *w) +void lin_to_win_struct_LeaderboardEntry_t_142(const void *l, void *w) { LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; struct winLeaderboardEntry_t_142 *win = (struct winLeaderboardEntry_t_142 *)w; @@ -1471,7 +1443,7 @@ struct winUserStatsReceived_t_20 { CSteamID m_steamIDUser; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserStatsReceived_t_20(void *l, void *w) +void cb_UserStatsReceived_t_20(const void *l, void *w) { UserStatsReceived_t *lin = (UserStatsReceived_t *)l; struct winUserStatsReceived_t_20 *win = (struct winUserStatsReceived_t_20 *)w; @@ -1486,7 +1458,7 @@ struct winUserStatsStored_t_12 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserStatsStored_t_12(void *l, void *w) +void cb_UserStatsStored_t_12(const void *l, void *w) { UserStatsStored_t *lin = (UserStatsStored_t *)l; struct winUserStatsStored_t_12 *win = (struct winUserStatsStored_t_12 *)w; @@ -1503,7 +1475,7 @@ struct winUserAchievementStored_t_148 { uint32 m_nMaxProgress; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserAchievementStored_t_148(void *l, void *w) +void cb_UserAchievementStored_t_148(const void *l, void *w) { UserAchievementStored_t *lin = (UserAchievementStored_t *)l; struct winUserAchievementStored_t_148 *win = (struct winUserAchievementStored_t_148 *)w; @@ -1520,7 +1492,7 @@ struct winLeaderboardFindResult_t_12 { uint8 m_bLeaderboardFound; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LeaderboardFindResult_t_12(void *l, void *w) +void cb_LeaderboardFindResult_t_12(const void *l, void *w) { LeaderboardFindResult_t *lin = (LeaderboardFindResult_t *)l; struct winLeaderboardFindResult_t_12 *win = (struct winLeaderboardFindResult_t_12 *)w; @@ -1535,7 +1507,7 @@ struct winLeaderboardScoresDownloaded_t_20 { int m_cEntryCount; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LeaderboardScoresDownloaded_t_20(void *l, void *w) +void cb_LeaderboardScoresDownloaded_t_20(const void *l, void *w) { LeaderboardScoresDownloaded_t *lin = (LeaderboardScoresDownloaded_t *)l; struct winLeaderboardScoresDownloaded_t_20 *win = (struct winLeaderboardScoresDownloaded_t_20 *)w; @@ -1554,7 +1526,7 @@ struct winLeaderboardScoreUploaded_t_28 { int m_nGlobalRankPrevious; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LeaderboardScoreUploaded_t_28(void *l, void *w) +void cb_LeaderboardScoreUploaded_t_28(const void *l, void *w) { LeaderboardScoreUploaded_t *lin = (LeaderboardScoreUploaded_t *)l; struct winLeaderboardScoreUploaded_t_28 *win = (struct winLeaderboardScoreUploaded_t_28 *)w; @@ -1572,7 +1544,7 @@ struct winNumberOfCurrentPlayers_t_8 { int32 m_cPlayers; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_NumberOfCurrentPlayers_t_8(void *l, void *w) +void cb_NumberOfCurrentPlayers_t_8(const void *l, void *w) { NumberOfCurrentPlayers_t *lin = (NumberOfCurrentPlayers_t *)l; struct winNumberOfCurrentPlayers_t_8 *win = (struct winNumberOfCurrentPlayers_t_8 *)w; @@ -1585,7 +1557,7 @@ struct winUserStatsUnloaded_t_8 { CSteamID m_steamIDUser; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserStatsUnloaded_t_8(void *l, void *w) +void cb_UserStatsUnloaded_t_8(const void *l, void *w) { UserStatsUnloaded_t *lin = (UserStatsUnloaded_t *)l; struct winUserStatsUnloaded_t_8 *win = (struct winUserStatsUnloaded_t_8 *)w; @@ -1600,7 +1572,7 @@ struct winUserAchievementIconFetched_t_144 { int m_nIconHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserAchievementIconFetched_t_144(void *l, void *w) +void cb_UserAchievementIconFetched_t_144(const void *l, void *w) { UserAchievementIconFetched_t *lin = (UserAchievementIconFetched_t *)l; struct winUserAchievementIconFetched_t_144 *win = (struct winUserAchievementIconFetched_t_144 *)w; @@ -1616,7 +1588,7 @@ struct winGlobalAchievementPercentagesReady_t_12 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GlobalAchievementPercentagesReady_t_12(void *l, void *w) +void cb_GlobalAchievementPercentagesReady_t_12(const void *l, void *w) { GlobalAchievementPercentagesReady_t *lin = (GlobalAchievementPercentagesReady_t *)l; struct winGlobalAchievementPercentagesReady_t_12 *win = (struct winGlobalAchievementPercentagesReady_t_12 *)w; @@ -1630,7 +1602,7 @@ struct winLeaderboardUGCSet_t_12 { SteamLeaderboard_t m_hSteamLeaderboard; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_LeaderboardUGCSet_t_12(void *l, void *w) +void cb_LeaderboardUGCSet_t_12(const void *l, void *w) { LeaderboardUGCSet_t *lin = (LeaderboardUGCSet_t *)l; struct winLeaderboardUGCSet_t_12 *win = (struct winLeaderboardUGCSet_t_12 *)w; @@ -1645,7 +1617,7 @@ struct winPS3TrophiesInstalled_t_20 { uint64 m_ulRequiredDiskSpace; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_PS3TrophiesInstalled_t_20(void *l, void *w) +void cb_PS3TrophiesInstalled_t_20(const void *l, void *w) { PS3TrophiesInstalled_t *lin = (PS3TrophiesInstalled_t *)l; struct winPS3TrophiesInstalled_t_20 *win = (struct winPS3TrophiesInstalled_t_20 *)w; @@ -1660,7 +1632,7 @@ struct winGlobalStatsReceived_t_12 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GlobalStatsReceived_t_12(void *l, void *w) +void cb_GlobalStatsReceived_t_12(const void *l, void *w) { GlobalStatsReceived_t *lin = (GlobalStatsReceived_t *)l; struct winGlobalStatsReceived_t_12 *win = (struct winGlobalStatsReceived_t_12 *)w; @@ -1673,7 +1645,7 @@ struct winDlcInstalled_t_4 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_DlcInstalled_t_4(void *l, void *w) +void cb_DlcInstalled_t_4(const void *l, void *w) { DlcInstalled_t *lin = (DlcInstalled_t *)l; struct winDlcInstalled_t_4 *win = (struct winDlcInstalled_t_4 *)w; @@ -1686,7 +1658,7 @@ struct winRegisterActivationCodeResponse_t_8 { uint32 m_unPackageRegistered; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RegisterActivationCodeResponse_t_8(void *l, void *w) +void cb_RegisterActivationCodeResponse_t_8(const void *l, void *w) { RegisterActivationCodeResponse_t *lin = (RegisterActivationCodeResponse_t *)l; struct winRegisterActivationCodeResponse_t_8 *win = (struct winRegisterActivationCodeResponse_t_8 *)w; @@ -1698,7 +1670,7 @@ void cb_RegisterActivationCodeResponse_t_8(void *l, void *w) struct winNewLaunchQueryParameters_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_NewLaunchQueryParameters_t_1(void *l, void *w) +void cb_NewLaunchQueryParameters_t_1(const void *l, void *w) { NewLaunchQueryParameters_t *lin = (NewLaunchQueryParameters_t *)l; struct winNewLaunchQueryParameters_t_1 *win = (struct winNewLaunchQueryParameters_t_1 *)w; @@ -1712,7 +1684,7 @@ struct winAppProofOfPurchaseKeyResponse_t_252 { char m_rgchKey[240]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AppProofOfPurchaseKeyResponse_t_252(void *l, void *w) +void cb_AppProofOfPurchaseKeyResponse_t_252(const void *l, void *w) { AppProofOfPurchaseKeyResponse_t *lin = (AppProofOfPurchaseKeyResponse_t *)l; struct winAppProofOfPurchaseKeyResponse_t_252 *win = (struct winAppProofOfPurchaseKeyResponse_t_252 *)w; @@ -1730,7 +1702,7 @@ struct winFileDetailsResult_t_36 { uint32 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_FileDetailsResult_t_36(void *l, void *w) +void cb_FileDetailsResult_t_36(const void *l, void *w) { FileDetailsResult_t *lin = (FileDetailsResult_t *)l; struct winFileDetailsResult_t_36 *win = (struct winFileDetailsResult_t_36 *)w; @@ -1752,7 +1724,7 @@ struct winP2PSessionState_t_142 { uint16 m_nRemotePort; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_142(void *w, void *l) +void win_to_lin_struct_P2PSessionState_t_142(const void *w, void *l) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_142 *win = (struct winP2PSessionState_t_142 *)w; @@ -1766,7 +1738,7 @@ void win_to_lin_struct_P2PSessionState_t_142(void *w, void *l) lin->m_nRemotePort = win->m_nRemotePort; } -void lin_to_win_struct_P2PSessionState_t_142(void *l, void *w) +void lin_to_win_struct_P2PSessionState_t_142(const void *l, void *w) { P2PSessionState_t *lin = (P2PSessionState_t *)l; struct winP2PSessionState_t_142 *win = (struct winP2PSessionState_t_142 *)w; @@ -1785,7 +1757,7 @@ struct winP2PSessionRequest_t_8 { CSteamID m_steamIDRemote; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_P2PSessionRequest_t_8(void *l, void *w) +void cb_P2PSessionRequest_t_8(const void *l, void *w) { P2PSessionRequest_t *lin = (P2PSessionRequest_t *)l; struct winP2PSessionRequest_t_8 *win = (struct winP2PSessionRequest_t_8 *)w; @@ -1798,7 +1770,7 @@ struct winP2PSessionConnectFail_t_9 { uint8 m_eP2PSessionError; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_P2PSessionConnectFail_t_9(void *l, void *w) +void cb_P2PSessionConnectFail_t_9(const void *l, void *w) { P2PSessionConnectFail_t *lin = (P2PSessionConnectFail_t *)l; struct winP2PSessionConnectFail_t_9 *win = (struct winP2PSessionConnectFail_t_9 *)w; @@ -1814,7 +1786,7 @@ struct winSocketStatusCallback_t_20 { int m_eSNetSocketState; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SocketStatusCallback_t_20(void *l, void *w) +void cb_SocketStatusCallback_t_20(const void *l, void *w) { SocketStatusCallback_t *lin = (SocketStatusCallback_t *)l; struct winSocketStatusCallback_t_20 *win = (struct winSocketStatusCallback_t_20 *)w; @@ -1830,7 +1802,7 @@ struct winScreenshotReady_t_8 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ScreenshotReady_t_8(void *l, void *w) +void cb_ScreenshotReady_t_8(const void *l, void *w) { ScreenshotReady_t *lin = (ScreenshotReady_t *)l; struct winScreenshotReady_t_8 *win = (struct winScreenshotReady_t_8 *)w; @@ -1842,7 +1814,7 @@ void cb_ScreenshotReady_t_8(void *l, void *w) struct winScreenshotRequested_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ScreenshotRequested_t_1(void *l, void *w) +void cb_ScreenshotRequested_t_1(const void *l, void *w) { ScreenshotRequested_t *lin = (ScreenshotRequested_t *)l; struct winScreenshotRequested_t_1 *win = (struct winScreenshotRequested_t_1 *)w; @@ -1852,7 +1824,7 @@ void cb_ScreenshotRequested_t_1(void *l, void *w) struct winPlaybackStatusHasChanged_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_PlaybackStatusHasChanged_t_1(void *l, void *w) +void cb_PlaybackStatusHasChanged_t_1(const void *l, void *w) { PlaybackStatusHasChanged_t *lin = (PlaybackStatusHasChanged_t *)l; struct winPlaybackStatusHasChanged_t_1 *win = (struct winPlaybackStatusHasChanged_t_1 *)w; @@ -1863,7 +1835,7 @@ struct winVolumeHasChanged_t_4 { float m_flNewVolume; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_VolumeHasChanged_t_4(void *l, void *w) +void cb_VolumeHasChanged_t_4(const void *l, void *w) { VolumeHasChanged_t *lin = (VolumeHasChanged_t *)l; struct winVolumeHasChanged_t_4 *win = (struct winVolumeHasChanged_t_4 *)w; @@ -1874,7 +1846,7 @@ void cb_VolumeHasChanged_t_4(void *l, void *w) struct winMusicPlayerRemoteWillActivate_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerRemoteWillActivate_t_1(void *l, void *w) +void cb_MusicPlayerRemoteWillActivate_t_1(const void *l, void *w) { MusicPlayerRemoteWillActivate_t *lin = (MusicPlayerRemoteWillActivate_t *)l; struct winMusicPlayerRemoteWillActivate_t_1 *win = (struct winMusicPlayerRemoteWillActivate_t_1 *)w; @@ -1884,7 +1856,7 @@ void cb_MusicPlayerRemoteWillActivate_t_1(void *l, void *w) struct winMusicPlayerRemoteWillDeactivate_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerRemoteWillDeactivate_t_1(void *l, void *w) +void cb_MusicPlayerRemoteWillDeactivate_t_1(const void *l, void *w) { MusicPlayerRemoteWillDeactivate_t *lin = (MusicPlayerRemoteWillDeactivate_t *)l; struct winMusicPlayerRemoteWillDeactivate_t_1 *win = (struct winMusicPlayerRemoteWillDeactivate_t_1 *)w; @@ -1894,7 +1866,7 @@ void cb_MusicPlayerRemoteWillDeactivate_t_1(void *l, void *w) struct winMusicPlayerRemoteToFront_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerRemoteToFront_t_1(void *l, void *w) +void cb_MusicPlayerRemoteToFront_t_1(const void *l, void *w) { MusicPlayerRemoteToFront_t *lin = (MusicPlayerRemoteToFront_t *)l; struct winMusicPlayerRemoteToFront_t_1 *win = (struct winMusicPlayerRemoteToFront_t_1 *)w; @@ -1904,7 +1876,7 @@ void cb_MusicPlayerRemoteToFront_t_1(void *l, void *w) struct winMusicPlayerWillQuit_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWillQuit_t_1(void *l, void *w) +void cb_MusicPlayerWillQuit_t_1(const void *l, void *w) { MusicPlayerWillQuit_t *lin = (MusicPlayerWillQuit_t *)l; struct winMusicPlayerWillQuit_t_1 *win = (struct winMusicPlayerWillQuit_t_1 *)w; @@ -1914,7 +1886,7 @@ void cb_MusicPlayerWillQuit_t_1(void *l, void *w) struct winMusicPlayerWantsPlay_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsPlay_t_1(void *l, void *w) +void cb_MusicPlayerWantsPlay_t_1(const void *l, void *w) { MusicPlayerWantsPlay_t *lin = (MusicPlayerWantsPlay_t *)l; struct winMusicPlayerWantsPlay_t_1 *win = (struct winMusicPlayerWantsPlay_t_1 *)w; @@ -1924,7 +1896,7 @@ void cb_MusicPlayerWantsPlay_t_1(void *l, void *w) struct winMusicPlayerWantsPause_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsPause_t_1(void *l, void *w) +void cb_MusicPlayerWantsPause_t_1(const void *l, void *w) { MusicPlayerWantsPause_t *lin = (MusicPlayerWantsPause_t *)l; struct winMusicPlayerWantsPause_t_1 *win = (struct winMusicPlayerWantsPause_t_1 *)w; @@ -1934,7 +1906,7 @@ void cb_MusicPlayerWantsPause_t_1(void *l, void *w) struct winMusicPlayerWantsPlayPrevious_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsPlayPrevious_t_1(void *l, void *w) +void cb_MusicPlayerWantsPlayPrevious_t_1(const void *l, void *w) { MusicPlayerWantsPlayPrevious_t *lin = (MusicPlayerWantsPlayPrevious_t *)l; struct winMusicPlayerWantsPlayPrevious_t_1 *win = (struct winMusicPlayerWantsPlayPrevious_t_1 *)w; @@ -1944,7 +1916,7 @@ void cb_MusicPlayerWantsPlayPrevious_t_1(void *l, void *w) struct winMusicPlayerWantsPlayNext_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsPlayNext_t_1(void *l, void *w) +void cb_MusicPlayerWantsPlayNext_t_1(const void *l, void *w) { MusicPlayerWantsPlayNext_t *lin = (MusicPlayerWantsPlayNext_t *)l; struct winMusicPlayerWantsPlayNext_t_1 *win = (struct winMusicPlayerWantsPlayNext_t_1 *)w; @@ -1955,7 +1927,7 @@ struct winMusicPlayerWantsShuffled_t_1 { bool m_bShuffled; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsShuffled_t_1(void *l, void *w) +void cb_MusicPlayerWantsShuffled_t_1(const void *l, void *w) { MusicPlayerWantsShuffled_t *lin = (MusicPlayerWantsShuffled_t *)l; struct winMusicPlayerWantsShuffled_t_1 *win = (struct winMusicPlayerWantsShuffled_t_1 *)w; @@ -1967,7 +1939,7 @@ struct winMusicPlayerWantsLooped_t_1 { bool m_bLooped; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsLooped_t_1(void *l, void *w) +void cb_MusicPlayerWantsLooped_t_1(const void *l, void *w) { MusicPlayerWantsLooped_t *lin = (MusicPlayerWantsLooped_t *)l; struct winMusicPlayerWantsLooped_t_1 *win = (struct winMusicPlayerWantsLooped_t_1 *)w; @@ -1979,7 +1951,7 @@ struct winMusicPlayerWantsVolume_t_4 { float m_flNewVolume; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsVolume_t_4(void *l, void *w) +void cb_MusicPlayerWantsVolume_t_4(const void *l, void *w) { MusicPlayerWantsVolume_t *lin = (MusicPlayerWantsVolume_t *)l; struct winMusicPlayerWantsVolume_t_4 *win = (struct winMusicPlayerWantsVolume_t_4 *)w; @@ -1991,7 +1963,7 @@ struct winMusicPlayerSelectsQueueEntry_t_4 { int nID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerSelectsQueueEntry_t_4(void *l, void *w) +void cb_MusicPlayerSelectsQueueEntry_t_4(const void *l, void *w) { MusicPlayerSelectsQueueEntry_t *lin = (MusicPlayerSelectsQueueEntry_t *)l; struct winMusicPlayerSelectsQueueEntry_t_4 *win = (struct winMusicPlayerSelectsQueueEntry_t_4 *)w; @@ -2003,7 +1975,7 @@ struct winMusicPlayerSelectsPlaylistEntry_t_4 { int nID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerSelectsPlaylistEntry_t_4(void *l, void *w) +void cb_MusicPlayerSelectsPlaylistEntry_t_4(const void *l, void *w) { MusicPlayerSelectsPlaylistEntry_t *lin = (MusicPlayerSelectsPlaylistEntry_t *)l; struct winMusicPlayerSelectsPlaylistEntry_t_4 *win = (struct winMusicPlayerSelectsPlaylistEntry_t_4 *)w; @@ -2015,7 +1987,7 @@ struct winMusicPlayerWantsPlayingRepeatStatus_t_4 { int m_nPlayingRepeatStatus; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_MusicPlayerWantsPlayingRepeatStatus_t_4(void *l, void *w) +void cb_MusicPlayerWantsPlayingRepeatStatus_t_4(const void *l, void *w) { MusicPlayerWantsPlayingRepeatStatus_t *lin = (MusicPlayerWantsPlayingRepeatStatus_t *)l; struct winMusicPlayerWantsPlayingRepeatStatus_t_4 *win = (struct winMusicPlayerWantsPlayingRepeatStatus_t_4 *)w; @@ -2031,7 +2003,7 @@ struct winHTTPRequestCompleted_t_24 { uint32 m_unBodySize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTTPRequestCompleted_t_24(void *l, void *w) +void cb_HTTPRequestCompleted_t_24(const void *l, void *w) { HTTPRequestCompleted_t *lin = (HTTPRequestCompleted_t *)l; struct winHTTPRequestCompleted_t_24 *win = (struct winHTTPRequestCompleted_t_24 *)w; @@ -2048,7 +2020,7 @@ struct winHTTPRequestHeadersReceived_t_12 { uint64 m_ulContextValue; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTTPRequestHeadersReceived_t_12(void *l, void *w) +void cb_HTTPRequestHeadersReceived_t_12(const void *l, void *w) { HTTPRequestHeadersReceived_t *lin = (HTTPRequestHeadersReceived_t *)l; struct winHTTPRequestHeadersReceived_t_12 *win = (struct winHTTPRequestHeadersReceived_t_12 *)w; @@ -2064,7 +2036,7 @@ struct winHTTPRequestDataReceived_t_20 { uint32 m_cBytesReceived; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTTPRequestDataReceived_t_20(void *l, void *w) +void cb_HTTPRequestDataReceived_t_20(const void *l, void *w) { HTTPRequestDataReceived_t *lin = (HTTPRequestDataReceived_t *)l; struct winHTTPRequestDataReceived_t_20 *win = (struct winHTTPRequestDataReceived_t_20 *)w; @@ -2082,7 +2054,7 @@ struct winControllerAnalogActionData_t_142 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_142(void *w, void *l) +void win_to_lin_struct_ControllerAnalogActionData_t_142(const void *w, void *l) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_142 *win = (struct winControllerAnalogActionData_t_142 *)w; @@ -2092,7 +2064,7 @@ void win_to_lin_struct_ControllerAnalogActionData_t_142(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerAnalogActionData_t_142(void *l, void *w) +void lin_to_win_struct_ControllerAnalogActionData_t_142(const void *l, void *w) { ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; struct winControllerAnalogActionData_t_142 *win = (struct winControllerAnalogActionData_t_142 *)w; @@ -2108,7 +2080,7 @@ struct winControllerDigitalActionData_t_142 { bool bActive; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_142(void *w, void *l) +void win_to_lin_struct_ControllerDigitalActionData_t_142(const void *w, void *l) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_142 *win = (struct winControllerDigitalActionData_t_142 *)w; @@ -2116,7 +2088,7 @@ void win_to_lin_struct_ControllerDigitalActionData_t_142(void *w, void *l) lin->bActive = win->bActive; } -void lin_to_win_struct_ControllerDigitalActionData_t_142(void *l, void *w) +void lin_to_win_struct_ControllerDigitalActionData_t_142(const void *l, void *w) { ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; struct winControllerDigitalActionData_t_142 *win = (struct winControllerDigitalActionData_t_142 *)w; @@ -2138,7 +2110,7 @@ struct winControllerMotionData_t_142 { float rotVelZ; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_142(void *w, void *l) +void win_to_lin_struct_ControllerMotionData_t_142(const void *w, void *l) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_142 *win = (struct winControllerMotionData_t_142 *)w; @@ -2154,7 +2126,7 @@ void win_to_lin_struct_ControllerMotionData_t_142(void *w, void *l) lin->rotVelZ = win->rotVelZ; } -void lin_to_win_struct_ControllerMotionData_t_142(void *l, void *w) +void lin_to_win_struct_ControllerMotionData_t_142(const void *l, void *w) { ControllerMotionData_t *lin = (ControllerMotionData_t *)l; struct winControllerMotionData_t_142 *win = (struct winControllerMotionData_t_142 *)w; @@ -2200,7 +2172,7 @@ struct winSteamUGCDetails_t_142 { uint32 m_unNumChildren; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamUGCDetails_t_142(void *w, void *l) +void win_to_lin_struct_SteamUGCDetails_t_142(const void *w, void *l) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_142 *win = (struct winSteamUGCDetails_t_142 *)w; @@ -2232,7 +2204,7 @@ void win_to_lin_struct_SteamUGCDetails_t_142(void *w, void *l) lin->m_unNumChildren = win->m_unNumChildren; } -void lin_to_win_struct_SteamUGCDetails_t_142(void *l, void *w) +void lin_to_win_struct_SteamUGCDetails_t_142(const void *l, void *w) { SteamUGCDetails_t *lin = (SteamUGCDetails_t *)l; struct winSteamUGCDetails_t_142 *win = (struct winSteamUGCDetails_t_142 *)w; @@ -2273,7 +2245,7 @@ struct winSteamUGCQueryCompleted_t_24 { bool m_bCachedData; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamUGCQueryCompleted_t_24(void *l, void *w) +void cb_SteamUGCQueryCompleted_t_24(const void *l, void *w) { SteamUGCQueryCompleted_t *lin = (SteamUGCQueryCompleted_t *)l; struct winSteamUGCQueryCompleted_t_24 *win = (struct winSteamUGCQueryCompleted_t_24 *)w; @@ -2290,7 +2262,7 @@ struct winSteamUGCRequestUGCDetailsResult_t_9768 { bool m_bCachedData; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9768(void *l, void *w) +void cb_SteamUGCRequestUGCDetailsResult_t_9768(const void *l, void *w) { SteamUGCRequestUGCDetailsResult_t *lin = (SteamUGCRequestUGCDetailsResult_t *)l; struct winSteamUGCRequestUGCDetailsResult_t_9768 *win = (struct winSteamUGCRequestUGCDetailsResult_t_9768 *)w; @@ -2305,7 +2277,7 @@ struct winCreateItemResult_t_16 { bool m_bUserNeedsToAcceptWorkshopLegalAgreement; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_CreateItemResult_t_16(void *l, void *w) +void cb_CreateItemResult_t_16(const void *l, void *w) { CreateItemResult_t *lin = (CreateItemResult_t *)l; struct winCreateItemResult_t_16 *win = (struct winCreateItemResult_t_16 *)w; @@ -2321,7 +2293,7 @@ struct winSubmitItemUpdateResult_t_16 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SubmitItemUpdateResult_t_16(void *l, void *w) +void cb_SubmitItemUpdateResult_t_16(const void *l, void *w) { SubmitItemUpdateResult_t *lin = (SubmitItemUpdateResult_t *)l; struct winSubmitItemUpdateResult_t_16 *win = (struct winSubmitItemUpdateResult_t_16 *)w; @@ -2336,7 +2308,7 @@ struct winItemInstalled_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ItemInstalled_t_12(void *l, void *w) +void cb_ItemInstalled_t_12(const void *l, void *w) { ItemInstalled_t *lin = (ItemInstalled_t *)l; struct winItemInstalled_t_12 *win = (struct winItemInstalled_t_12 *)w; @@ -2351,7 +2323,7 @@ struct winDownloadItemResult_t_16 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_DownloadItemResult_t_16(void *l, void *w) +void cb_DownloadItemResult_t_16(const void *l, void *w) { DownloadItemResult_t *lin = (DownloadItemResult_t *)l; struct winDownloadItemResult_t_16 *win = (struct winDownloadItemResult_t_16 *)w; @@ -2367,7 +2339,7 @@ struct winUserFavoriteItemsListChanged_t_16 { bool m_bWasAddRequest; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_UserFavoriteItemsListChanged_t_16(void *l, void *w) +void cb_UserFavoriteItemsListChanged_t_16(const void *l, void *w) { UserFavoriteItemsListChanged_t *lin = (UserFavoriteItemsListChanged_t *)l; struct winUserFavoriteItemsListChanged_t_16 *win = (struct winUserFavoriteItemsListChanged_t_16 *)w; @@ -2383,7 +2355,7 @@ struct winSetUserItemVoteResult_t_16 { bool m_bVoteUp; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SetUserItemVoteResult_t_16(void *l, void *w) +void cb_SetUserItemVoteResult_t_16(const void *l, void *w) { SetUserItemVoteResult_t *lin = (SetUserItemVoteResult_t *)l; struct winSetUserItemVoteResult_t_16 *win = (struct winSetUserItemVoteResult_t_16 *)w; @@ -2401,7 +2373,7 @@ struct winGetUserItemVoteResult_t_16 { bool m_bVoteSkipped; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GetUserItemVoteResult_t_16(void *l, void *w) +void cb_GetUserItemVoteResult_t_16(const void *l, void *w) { GetUserItemVoteResult_t *lin = (GetUserItemVoteResult_t *)l; struct winGetUserItemVoteResult_t_16 *win = (struct winGetUserItemVoteResult_t_16 *)w; @@ -2417,7 +2389,7 @@ struct winStartPlaytimeTrackingResult_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_StartPlaytimeTrackingResult_t_4(void *l, void *w) +void cb_StartPlaytimeTrackingResult_t_4(const void *l, void *w) { StartPlaytimeTrackingResult_t *lin = (StartPlaytimeTrackingResult_t *)l; struct winStartPlaytimeTrackingResult_t_4 *win = (struct winStartPlaytimeTrackingResult_t_4 *)w; @@ -2429,7 +2401,7 @@ struct winStopPlaytimeTrackingResult_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_StopPlaytimeTrackingResult_t_4(void *l, void *w) +void cb_StopPlaytimeTrackingResult_t_4(const void *l, void *w) { StopPlaytimeTrackingResult_t *lin = (StopPlaytimeTrackingResult_t *)l; struct winStopPlaytimeTrackingResult_t_4 *win = (struct winStopPlaytimeTrackingResult_t_4 *)w; @@ -2443,7 +2415,7 @@ struct winAddUGCDependencyResult_t_20 { PublishedFileId_t m_nChildPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AddUGCDependencyResult_t_20(void *l, void *w) +void cb_AddUGCDependencyResult_t_20(const void *l, void *w) { AddUGCDependencyResult_t *lin = (AddUGCDependencyResult_t *)l; struct winAddUGCDependencyResult_t_20 *win = (struct winAddUGCDependencyResult_t_20 *)w; @@ -2459,7 +2431,7 @@ struct winRemoveUGCDependencyResult_t_20 { PublishedFileId_t m_nChildPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoveUGCDependencyResult_t_20(void *l, void *w) +void cb_RemoveUGCDependencyResult_t_20(const void *l, void *w) { RemoveUGCDependencyResult_t *lin = (RemoveUGCDependencyResult_t *)l; struct winRemoveUGCDependencyResult_t_20 *win = (struct winRemoveUGCDependencyResult_t_20 *)w; @@ -2475,7 +2447,7 @@ struct winAddAppDependencyResult_t_16 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AddAppDependencyResult_t_16(void *l, void *w) +void cb_AddAppDependencyResult_t_16(const void *l, void *w) { AddAppDependencyResult_t *lin = (AddAppDependencyResult_t *)l; struct winAddAppDependencyResult_t_16 *win = (struct winAddAppDependencyResult_t_16 *)w; @@ -2491,7 +2463,7 @@ struct winRemoveAppDependencyResult_t_16 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_RemoveAppDependencyResult_t_16(void *l, void *w) +void cb_RemoveAppDependencyResult_t_16(const void *l, void *w) { RemoveAppDependencyResult_t *lin = (RemoveAppDependencyResult_t *)l; struct winRemoveAppDependencyResult_t_16 *win = (struct winRemoveAppDependencyResult_t_16 *)w; @@ -2509,7 +2481,7 @@ struct winGetAppDependenciesResult_t_148 { uint32 m_nTotalNumAppDependencies; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GetAppDependenciesResult_t_148(void *l, void *w) +void cb_GetAppDependenciesResult_t_148(const void *l, void *w) { GetAppDependenciesResult_t *lin = (GetAppDependenciesResult_t *)l; struct winGetAppDependenciesResult_t_148 *win = (struct winGetAppDependenciesResult_t_148 *)w; @@ -2526,7 +2498,7 @@ struct winDeleteItemResult_t_12 { PublishedFileId_t m_nPublishedFileId; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_DeleteItemResult_t_12(void *l, void *w) +void cb_DeleteItemResult_t_12(const void *l, void *w) { DeleteItemResult_t *lin = (DeleteItemResult_t *)l; struct winDeleteItemResult_t_12 *win = (struct winDeleteItemResult_t_12 *)w; @@ -2539,7 +2511,7 @@ struct winSteamAppInstalled_t_4 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamAppInstalled_t_4(void *l, void *w) +void cb_SteamAppInstalled_t_4(const void *l, void *w) { SteamAppInstalled_t *lin = (SteamAppInstalled_t *)l; struct winSteamAppInstalled_t_4 *win = (struct winSteamAppInstalled_t_4 *)w; @@ -2551,7 +2523,7 @@ struct winSteamAppUninstalled_t_4 { AppId_t m_nAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamAppUninstalled_t_4(void *l, void *w) +void cb_SteamAppUninstalled_t_4(const void *l, void *w) { SteamAppUninstalled_t *lin = (SteamAppUninstalled_t *)l; struct winSteamAppUninstalled_t_4 *win = (struct winSteamAppUninstalled_t_4 *)w; @@ -2563,7 +2535,7 @@ struct winHTML_BrowserReady_t_4 { HHTMLBrowser unBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_BrowserReady_t_4(void *l, void *w) +void cb_HTML_BrowserReady_t_4(const void *l, void *w) { HTML_BrowserReady_t *lin = (HTML_BrowserReady_t *)l; struct winHTML_BrowserReady_t_4 *win = (struct winHTML_BrowserReady_t_4 *)w; @@ -2586,7 +2558,7 @@ struct winHTML_NeedsPaint_t_48 { uint32 unPageSerial; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_NeedsPaint_t_48(void *l, void *w) +void cb_HTML_NeedsPaint_t_48(const void *l, void *w) { HTML_NeedsPaint_t *lin = (HTML_NeedsPaint_t *)l; struct winHTML_NeedsPaint_t_48 *win = (struct winHTML_NeedsPaint_t_48 *)w; @@ -2613,7 +2585,7 @@ struct winHTML_StartRequest_t_20 { bool bIsRedirect; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_StartRequest_t_20(void *l, void *w) +void cb_HTML_StartRequest_t_20(const void *l, void *w) { HTML_StartRequest_t *lin = (HTML_StartRequest_t *)l; struct winHTML_StartRequest_t_20 *win = (struct winHTML_StartRequest_t_20 *)w; @@ -2629,7 +2601,7 @@ struct winHTML_CloseBrowser_t_4 { HHTMLBrowser unBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_CloseBrowser_t_4(void *l, void *w) +void cb_HTML_CloseBrowser_t_4(const void *l, void *w) { HTML_CloseBrowser_t *lin = (HTML_CloseBrowser_t *)l; struct winHTML_CloseBrowser_t_4 *win = (struct winHTML_CloseBrowser_t_4 *)w; @@ -2646,7 +2618,7 @@ struct winHTML_URLChanged_t_24 { bool bNewNavigation; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_URLChanged_t_24(void *l, void *w) +void cb_HTML_URLChanged_t_24(const void *l, void *w) { HTML_URLChanged_t *lin = (HTML_URLChanged_t *)l; struct winHTML_URLChanged_t_24 *win = (struct winHTML_URLChanged_t_24 *)w; @@ -2665,7 +2637,7 @@ struct winHTML_FinishedRequest_t_12 { const char * pchPageTitle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_FinishedRequest_t_12(void *l, void *w) +void cb_HTML_FinishedRequest_t_12(const void *l, void *w) { HTML_FinishedRequest_t *lin = (HTML_FinishedRequest_t *)l; struct winHTML_FinishedRequest_t_12 *win = (struct winHTML_FinishedRequest_t_12 *)w; @@ -2680,7 +2652,7 @@ struct winHTML_OpenLinkInNewTab_t_8 { const char * pchURL; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_OpenLinkInNewTab_t_8(void *l, void *w) +void cb_HTML_OpenLinkInNewTab_t_8(const void *l, void *w) { HTML_OpenLinkInNewTab_t *lin = (HTML_OpenLinkInNewTab_t *)l; struct winHTML_OpenLinkInNewTab_t_8 *win = (struct winHTML_OpenLinkInNewTab_t_8 *)w; @@ -2694,7 +2666,7 @@ struct winHTML_ChangedTitle_t_8 { const char * pchTitle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_ChangedTitle_t_8(void *l, void *w) +void cb_HTML_ChangedTitle_t_8(const void *l, void *w) { HTML_ChangedTitle_t *lin = (HTML_ChangedTitle_t *)l; struct winHTML_ChangedTitle_t_8 *win = (struct winHTML_ChangedTitle_t_8 *)w; @@ -2709,7 +2681,7 @@ struct winHTML_SearchResults_t_12 { uint32 unCurrentMatch; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_SearchResults_t_12(void *l, void *w) +void cb_HTML_SearchResults_t_12(const void *l, void *w) { HTML_SearchResults_t *lin = (HTML_SearchResults_t *)l; struct winHTML_SearchResults_t_12 *win = (struct winHTML_SearchResults_t_12 *)w; @@ -2725,7 +2697,7 @@ struct winHTML_CanGoBackAndForward_t_8 { bool bCanGoForward; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_CanGoBackAndForward_t_8(void *l, void *w) +void cb_HTML_CanGoBackAndForward_t_8(const void *l, void *w) { HTML_CanGoBackAndForward_t *lin = (HTML_CanGoBackAndForward_t *)l; struct winHTML_CanGoBackAndForward_t_8 *win = (struct winHTML_CanGoBackAndForward_t_8 *)w; @@ -2744,7 +2716,7 @@ struct winHTML_HorizontalScroll_t_24 { uint32 unPageSize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_HorizontalScroll_t_24(void *l, void *w) +void cb_HTML_HorizontalScroll_t_24(const void *l, void *w) { HTML_HorizontalScroll_t *lin = (HTML_HorizontalScroll_t *)l; struct winHTML_HorizontalScroll_t_24 *win = (struct winHTML_HorizontalScroll_t_24 *)w; @@ -2766,7 +2738,7 @@ struct winHTML_VerticalScroll_t_24 { uint32 unPageSize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_VerticalScroll_t_24(void *l, void *w) +void cb_HTML_VerticalScroll_t_24(const void *l, void *w) { HTML_VerticalScroll_t *lin = (HTML_VerticalScroll_t *)l; struct winHTML_VerticalScroll_t_24 *win = (struct winHTML_VerticalScroll_t_24 *)w; @@ -2788,7 +2760,7 @@ struct winHTML_LinkAtPosition_t_20 { bool bLiveLink; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_LinkAtPosition_t_20(void *l, void *w) +void cb_HTML_LinkAtPosition_t_20(const void *l, void *w) { HTML_LinkAtPosition_t *lin = (HTML_LinkAtPosition_t *)l; struct winHTML_LinkAtPosition_t_20 *win = (struct winHTML_LinkAtPosition_t_20 *)w; @@ -2806,7 +2778,7 @@ struct winHTML_JSAlert_t_8 { const char * pchMessage; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_JSAlert_t_8(void *l, void *w) +void cb_HTML_JSAlert_t_8(const void *l, void *w) { HTML_JSAlert_t *lin = (HTML_JSAlert_t *)l; struct winHTML_JSAlert_t_8 *win = (struct winHTML_JSAlert_t_8 *)w; @@ -2820,7 +2792,7 @@ struct winHTML_JSConfirm_t_8 { const char * pchMessage; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_JSConfirm_t_8(void *l, void *w) +void cb_HTML_JSConfirm_t_8(const void *l, void *w) { HTML_JSConfirm_t *lin = (HTML_JSConfirm_t *)l; struct winHTML_JSConfirm_t_8 *win = (struct winHTML_JSConfirm_t_8 *)w; @@ -2835,7 +2807,7 @@ struct winHTML_FileOpenDialog_t_12 { const char * pchInitialFile; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_FileOpenDialog_t_12(void *l, void *w) +void cb_HTML_FileOpenDialog_t_12(const void *l, void *w) { HTML_FileOpenDialog_t *lin = (HTML_FileOpenDialog_t *)l; struct winHTML_FileOpenDialog_t_12 *win = (struct winHTML_FileOpenDialog_t_12 *)w; @@ -2855,7 +2827,7 @@ struct winHTML_NewWindow_t_28 { HHTMLBrowser unNewWindow_BrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_NewWindow_t_28(void *l, void *w) +void cb_HTML_NewWindow_t_28(const void *l, void *w) { HTML_NewWindow_t *lin = (HTML_NewWindow_t *)l; struct winHTML_NewWindow_t_28 *win = (struct winHTML_NewWindow_t_28 *)w; @@ -2874,7 +2846,7 @@ struct winHTML_SetCursor_t_8 { uint32 eMouseCursor; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_SetCursor_t_8(void *l, void *w) +void cb_HTML_SetCursor_t_8(const void *l, void *w) { HTML_SetCursor_t *lin = (HTML_SetCursor_t *)l; struct winHTML_SetCursor_t_8 *win = (struct winHTML_SetCursor_t_8 *)w; @@ -2888,7 +2860,7 @@ struct winHTML_StatusText_t_8 { const char * pchMsg; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_StatusText_t_8(void *l, void *w) +void cb_HTML_StatusText_t_8(const void *l, void *w) { HTML_StatusText_t *lin = (HTML_StatusText_t *)l; struct winHTML_StatusText_t_8 *win = (struct winHTML_StatusText_t_8 *)w; @@ -2902,7 +2874,7 @@ struct winHTML_ShowToolTip_t_8 { const char * pchMsg; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_ShowToolTip_t_8(void *l, void *w) +void cb_HTML_ShowToolTip_t_8(const void *l, void *w) { HTML_ShowToolTip_t *lin = (HTML_ShowToolTip_t *)l; struct winHTML_ShowToolTip_t_8 *win = (struct winHTML_ShowToolTip_t_8 *)w; @@ -2916,7 +2888,7 @@ struct winHTML_UpdateToolTip_t_8 { const char * pchMsg; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_UpdateToolTip_t_8(void *l, void *w) +void cb_HTML_UpdateToolTip_t_8(const void *l, void *w) { HTML_UpdateToolTip_t *lin = (HTML_UpdateToolTip_t *)l; struct winHTML_UpdateToolTip_t_8 *win = (struct winHTML_UpdateToolTip_t_8 *)w; @@ -2929,7 +2901,7 @@ struct winHTML_HideToolTip_t_4 { HHTMLBrowser unBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_HideToolTip_t_4(void *l, void *w) +void cb_HTML_HideToolTip_t_4(const void *l, void *w) { HTML_HideToolTip_t *lin = (HTML_HideToolTip_t *)l; struct winHTML_HideToolTip_t_4 *win = (struct winHTML_HideToolTip_t_4 *)w; @@ -2942,7 +2914,7 @@ struct winHTML_BrowserRestarted_t_8 { HHTMLBrowser unOldBrowserHandle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_HTML_BrowserRestarted_t_8(void *l, void *w) +void cb_HTML_BrowserRestarted_t_8(const void *l, void *w) { HTML_BrowserRestarted_t *lin = (HTML_BrowserRestarted_t *)l; struct winHTML_BrowserRestarted_t_8 *win = (struct winHTML_BrowserRestarted_t_8 *)w; @@ -2958,7 +2930,7 @@ struct winSteamItemDetails_t_142 { uint16 m_unFlags; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_142(void *w, void *l) +void win_to_lin_struct_SteamItemDetails_t_142(const void *w, void *l) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_142 *win = (struct winSteamItemDetails_t_142 *)w; @@ -2968,7 +2940,7 @@ void win_to_lin_struct_SteamItemDetails_t_142(void *w, void *l) lin->m_unFlags = win->m_unFlags; } -void lin_to_win_struct_SteamItemDetails_t_142(void *l, void *w) +void lin_to_win_struct_SteamItemDetails_t_142(const void *l, void *w) { SteamItemDetails_t *lin = (SteamItemDetails_t *)l; struct winSteamItemDetails_t_142 *win = (struct winSteamItemDetails_t_142 *)w; @@ -2984,7 +2956,7 @@ struct winSteamInventoryResultReady_t_8 { EResult m_result; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryResultReady_t_8(void *l, void *w) +void cb_SteamInventoryResultReady_t_8(const void *l, void *w) { SteamInventoryResultReady_t *lin = (SteamInventoryResultReady_t *)l; struct winSteamInventoryResultReady_t_8 *win = (struct winSteamInventoryResultReady_t_8 *)w; @@ -2997,7 +2969,7 @@ struct winSteamInventoryFullUpdate_t_4 { SteamInventoryResult_t m_handle; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryFullUpdate_t_4(void *l, void *w) +void cb_SteamInventoryFullUpdate_t_4(const void *l, void *w) { SteamInventoryFullUpdate_t *lin = (SteamInventoryFullUpdate_t *)l; struct winSteamInventoryFullUpdate_t_4 *win = (struct winSteamInventoryFullUpdate_t_4 *)w; @@ -3008,7 +2980,7 @@ void cb_SteamInventoryFullUpdate_t_4(void *l, void *w) struct winSteamInventoryDefinitionUpdate_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryDefinitionUpdate_t_1(void *l, void *w) +void cb_SteamInventoryDefinitionUpdate_t_1(const void *l, void *w) { SteamInventoryDefinitionUpdate_t *lin = (SteamInventoryDefinitionUpdate_t *)l; struct winSteamInventoryDefinitionUpdate_t_1 *win = (struct winSteamInventoryDefinitionUpdate_t_1 *)w; @@ -3022,7 +2994,7 @@ struct winSteamInventoryEligiblePromoItemDefIDs_t_20 { bool m_bCachedData; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryEligiblePromoItemDefIDs_t_20(void *l, void *w) +void cb_SteamInventoryEligiblePromoItemDefIDs_t_20(const void *l, void *w) { SteamInventoryEligiblePromoItemDefIDs_t *lin = (SteamInventoryEligiblePromoItemDefIDs_t *)l; struct winSteamInventoryEligiblePromoItemDefIDs_t_20 *win = (struct winSteamInventoryEligiblePromoItemDefIDs_t_20 *)w; @@ -3039,7 +3011,7 @@ struct winSteamInventoryStartPurchaseResult_t_20 { uint64 m_ulTransID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryStartPurchaseResult_t_20(void *l, void *w) +void cb_SteamInventoryStartPurchaseResult_t_20(const void *l, void *w) { SteamInventoryStartPurchaseResult_t *lin = (SteamInventoryStartPurchaseResult_t *)l; struct winSteamInventoryStartPurchaseResult_t_20 *win = (struct winSteamInventoryStartPurchaseResult_t_20 *)w; @@ -3054,7 +3026,7 @@ struct winSteamInventoryRequestPricesResult_t_8 { char m_rgchCurrency[4]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamInventoryRequestPricesResult_t_8(void *l, void *w) +void cb_SteamInventoryRequestPricesResult_t_8(const void *l, void *w) { SteamInventoryRequestPricesResult_t *lin = (SteamInventoryRequestPricesResult_t *)l; struct winSteamInventoryRequestPricesResult_t_8 *win = (struct winSteamInventoryRequestPricesResult_t_8 *)w; @@ -3066,7 +3038,7 @@ void cb_SteamInventoryRequestPricesResult_t_8(void *l, void *w) struct winBroadcastUploadStart_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_BroadcastUploadStart_t_1(void *l, void *w) +void cb_BroadcastUploadStart_t_1(const void *l, void *w) { BroadcastUploadStart_t *lin = (BroadcastUploadStart_t *)l; struct winBroadcastUploadStart_t_1 *win = (struct winBroadcastUploadStart_t_1 *)w; @@ -3077,7 +3049,7 @@ struct winBroadcastUploadStop_t_4 { EBroadcastUploadResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_BroadcastUploadStop_t_4(void *l, void *w) +void cb_BroadcastUploadStop_t_4(const void *l, void *w) { BroadcastUploadStop_t *lin = (BroadcastUploadStop_t *)l; struct winBroadcastUploadStop_t_4 *win = (struct winBroadcastUploadStop_t_4 *)w; @@ -3091,7 +3063,7 @@ struct winGetVideoURLResult_t_264 { char m_rgchURL[256]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GetVideoURLResult_t_264(void *l, void *w) +void cb_GetVideoURLResult_t_264(const void *l, void *w) { GetVideoURLResult_t *lin = (GetVideoURLResult_t *)l; struct winGetVideoURLResult_t_264 *win = (struct winGetVideoURLResult_t_264 *)w; @@ -3106,7 +3078,7 @@ struct winGetOPFSettingsResult_t_8 { AppId_t m_unVideoAppID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GetOPFSettingsResult_t_8(void *l, void *w) +void cb_GetOPFSettingsResult_t_8(const void *l, void *w) { GetOPFSettingsResult_t *lin = (GetOPFSettingsResult_t *)l; struct winGetOPFSettingsResult_t_8 *win = (struct winGetOPFSettingsResult_t_8 *)w; @@ -3118,7 +3090,7 @@ void cb_GetOPFSettingsResult_t_8(void *l, void *w) struct winSteamParentalSettingsChanged_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_SteamParentalSettingsChanged_t_1(void *l, void *w) +void cb_SteamParentalSettingsChanged_t_1(const void *l, void *w) { SteamParentalSettingsChanged_t *lin = (SteamParentalSettingsChanged_t *)l; struct winSteamParentalSettingsChanged_t_1 *win = (struct winSteamParentalSettingsChanged_t_1 *)w; @@ -3149,7 +3121,7 @@ struct winCSteamAPIContext_142 { ISteamParentalSettings * m_pSteamParentalSettings; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_142(void *w, void *l) +void win_to_lin_struct_CSteamAPIContext_142(const void *w, void *l) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_142 *win = (struct winCSteamAPIContext_142 *)w; @@ -3176,7 +3148,7 @@ void win_to_lin_struct_CSteamAPIContext_142(void *w, void *l) lin->m_pSteamParentalSettings = win->m_pSteamParentalSettings; } -void lin_to_win_struct_CSteamAPIContext_142(void *l, void *w) +void lin_to_win_struct_CSteamAPIContext_142(const void *l, void *w) { CSteamAPIContext *lin = (CSteamAPIContext *)l; struct winCSteamAPIContext_142 *win = (struct winCSteamAPIContext_142 *)w; @@ -3203,63 +3175,13 @@ void lin_to_win_struct_CSteamAPIContext_142(void *l, void *w) win->m_pSteamParentalSettings = lin->m_pSteamParentalSettings; } -#pragma pack( push, 8 ) -struct winCCallbackBase_142 { - uint8 m_nCallbackFlags; - int m_iCallback; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CCallbackBase_142(void *w, void *l) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_142 *win = (struct winCCallbackBase_142 *)w; - lin->m_nCallbackFlags = win->m_nCallbackFlags; - lin->m_iCallback = win->m_iCallback; -} - -void lin_to_win_struct_CCallbackBase_142(void *l, void *w) -{ - CCallbackBase *lin = (CCallbackBase *)l; - struct winCCallbackBase_142 *win = (struct winCCallbackBase_142 *)w; - win->m_nCallbackFlags = lin->m_nCallbackFlags; - win->m_iCallback = lin->m_iCallback; -} - -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_142 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winGSClientApprove_t_16 { CSteamID m_SteamID; CSteamID m_OwnerSteamID; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientApprove_t_16(void *l, void *w) +void cb_GSClientApprove_t_16(const void *l, void *w) { GSClientApprove_t *lin = (GSClientApprove_t *)l; struct winGSClientApprove_t_16 *win = (struct winGSClientApprove_t_16 *)w; @@ -3274,7 +3196,7 @@ struct winGSClientDeny_t_140 { char m_rgchOptionalText[128]; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientDeny_t_140(void *l, void *w) +void cb_GSClientDeny_t_140(const void *l, void *w) { GSClientDeny_t *lin = (GSClientDeny_t *)l; struct winGSClientDeny_t_140 *win = (struct winGSClientDeny_t_140 *)w; @@ -3289,7 +3211,7 @@ struct winGSClientKick_t_12 { EDenyReason m_eDenyReason; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientKick_t_12(void *l, void *w) +void cb_GSClientKick_t_12(const void *l, void *w) { GSClientKick_t *lin = (GSClientKick_t *)l; struct winGSClientKick_t_12 *win = (struct winGSClientKick_t_12 *)w; @@ -3304,7 +3226,7 @@ struct winGSClientAchievementStatus_t_140 { bool m_bUnlocked; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientAchievementStatus_t_140(void *l, void *w) +void cb_GSClientAchievementStatus_t_140(const void *l, void *w) { GSClientAchievementStatus_t *lin = (GSClientAchievementStatus_t *)l; struct winGSClientAchievementStatus_t_140 *win = (struct winGSClientAchievementStatus_t_140 *)w; @@ -3318,7 +3240,7 @@ struct winGSPolicyResponse_t_1 { uint8 m_bSecure; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSPolicyResponse_t_1(void *l, void *w) +void cb_GSPolicyResponse_t_1(const void *l, void *w) { GSPolicyResponse_t *lin = (GSPolicyResponse_t *)l; struct winGSPolicyResponse_t_1 *win = (struct winGSPolicyResponse_t_1 *)w; @@ -3333,7 +3255,7 @@ struct winGSGameplayStats_t_16 { uint32 m_unTotalMinutesPlayed; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSGameplayStats_t_16(void *l, void *w) +void cb_GSGameplayStats_t_16(const void *l, void *w) { GSGameplayStats_t *lin = (GSGameplayStats_t *)l; struct winGSGameplayStats_t_16 *win = (struct winGSGameplayStats_t_16 *)w; @@ -3351,7 +3273,7 @@ struct winGSClientGroupStatus_t_18 { bool m_bOfficer; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSClientGroupStatus_t_18(void *l, void *w) +void cb_GSClientGroupStatus_t_18(const void *l, void *w) { GSClientGroupStatus_t *lin = (GSClientGroupStatus_t *)l; struct winGSClientGroupStatus_t_18 *win = (struct winGSClientGroupStatus_t_18 *)w; @@ -3372,7 +3294,7 @@ struct winGSReputation_t_32 { uint32 m_unBanExpires; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSReputation_t_32(void *l, void *w) +void cb_GSReputation_t_32(const void *l, void *w) { GSReputation_t *lin = (GSReputation_t *)l; struct winGSReputation_t_32 *win = (struct winGSReputation_t_32 *)w; @@ -3390,7 +3312,7 @@ struct winAssociateWithClanResult_t_4 { EResult m_eResult; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_AssociateWithClanResult_t_4(void *l, void *w) +void cb_AssociateWithClanResult_t_4(const void *l, void *w) { AssociateWithClanResult_t *lin = (AssociateWithClanResult_t *)l; struct winAssociateWithClanResult_t_4 *win = (struct winAssociateWithClanResult_t_4 *)w; @@ -3406,7 +3328,7 @@ struct winComputeNewPlayerCompatibilityResult_t_24 { CSteamID m_SteamIDCandidate; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_ComputeNewPlayerCompatibilityResult_t_24(void *l, void *w) +void cb_ComputeNewPlayerCompatibilityResult_t_24(const void *l, void *w) { ComputeNewPlayerCompatibilityResult_t *lin = (ComputeNewPlayerCompatibilityResult_t *)l; struct winComputeNewPlayerCompatibilityResult_t_24 *win = (struct winComputeNewPlayerCompatibilityResult_t_24 *)w; @@ -3417,41 +3339,13 @@ void cb_ComputeNewPlayerCompatibilityResult_t_24(void *l, void *w) win->m_SteamIDCandidate = lin->m_SteamIDCandidate; } -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_142 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winGSStatsReceived_t_12 { EResult m_eResult; CSteamID m_steamIDUser; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSStatsReceived_t_12(void *l, void *w) +void cb_GSStatsReceived_t_12(const void *l, void *w) { GSStatsReceived_t *lin = (GSStatsReceived_t *)l; struct winGSStatsReceived_t_12 *win = (struct winGSStatsReceived_t_12 *)w; @@ -3465,7 +3359,7 @@ struct winGSStatsStored_t_12 { CSteamID m_steamIDUser; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GSStatsStored_t_12(void *l, void *w) +void cb_GSStatsStored_t_12(const void *l, void *w) { GSStatsStored_t *lin = (GSStatsStored_t *)l; struct winGSStatsStored_t_12 *win = (struct winGSStatsStored_t_12 *)w; @@ -3473,40 +3367,12 @@ void cb_GSStatsStored_t_12(void *l, void *w) win->m_steamIDUser = lin->m_steamIDUser; } -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_142 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - #pragma pack( push, 8 ) struct winGCMessageAvailable_t_4 { uint32 m_nMessageSize; } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GCMessageAvailable_t_4(void *l, void *w) +void cb_GCMessageAvailable_t_4(const void *l, void *w) { GCMessageAvailable_t *lin = (GCMessageAvailable_t *)l; struct winGCMessageAvailable_t_4 *win = (struct winGCMessageAvailable_t_4 *)w; @@ -3517,39 +3383,11 @@ void cb_GCMessageAvailable_t_4(void *l, void *w) struct winGCMessageFailed_t_1 { } __attribute__ ((ms_struct)); #pragma pack( pop ) -void cb_GCMessageFailed_t_1(void *l, void *w) +void cb_GCMessageFailed_t_1(const void *l, void *w) { GCMessageFailed_t *lin = (GCMessageFailed_t *)l; struct winGCMessageFailed_t_1 *win = (struct winGCMessageFailed_t_1 *)w; } -#pragma pack( push, 8 ) -struct winValvePackingSentinel_t_142 { - uint32 m_u32; - uint64 m_u64; - uint16 m_u16; - double m_d; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - lin->m_u32 = win->m_u32; - lin->m_u64 = win->m_u64; - lin->m_u16 = win->m_u16; - lin->m_d = win->m_d; -} - -void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w) -{ - ValvePackingSentinel_t *lin = (ValvePackingSentinel_t *)l; - struct winValvePackingSentinel_t_142 *win = (struct winValvePackingSentinel_t_142 *)w; - win->m_u32 = lin->m_u32; - win->m_u64 = lin->m_u64; - win->m_u16 = lin->m_u16; - win->m_d = lin->m_d; -} - } diff --git a/lsteamclient/struct_converters_142.h b/lsteamclient/struct_converters_142.h index b9f96bb6..955a90e2 100644 --- a/lsteamclient/struct_converters_142.h +++ b/lsteamclient/struct_converters_142.h @@ -1,60 +1,42 @@ -extern void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w); +extern void win_to_lin_struct_CallbackMsg_t_142(const void *w, void *l); +extern void lin_to_win_struct_CallbackMsg_t_142(const void *l, void *w); -extern void win_to_lin_struct_CallbackMsg_t_142(void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_142(void *l, void *w); +extern void win_to_lin_struct_FriendGameInfo_t_142(const void *w, void *l); +extern void lin_to_win_struct_FriendGameInfo_t_142(const void *l, void *w); -extern void win_to_lin_struct_FriendGameInfo_t_142(void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_142(void *l, void *w); +extern void win_to_lin_struct_FriendSessionStateInfo_t_142(const void *w, void *l); +extern void lin_to_win_struct_FriendSessionStateInfo_t_142(const void *l, void *w); -extern void win_to_lin_struct_FriendSessionStateInfo_t_142(void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_142(void *l, void *w); +extern void win_to_lin_struct_servernetadr_t_142(const void *w, void *l); +extern void lin_to_win_struct_servernetadr_t_142(const void *l, void *w); -extern void win_to_lin_struct_servernetadr_t_142(void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_142(void *l, void *w); +extern void win_to_lin_struct_gameserveritem_t_142(const void *w, void *l); +extern void lin_to_win_struct_gameserveritem_t_142(const void *l, void *w); -extern void win_to_lin_struct_gameserveritem_t_142(void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_142(void *l, void *w); +extern void win_to_lin_struct_SteamParamStringArray_t_142(const void *w, void *l); +extern void lin_to_win_struct_SteamParamStringArray_t_142(const void *l, void *w); -extern void win_to_lin_struct_SteamParamStringArray_t_142(void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_142(void *l, void *w); +extern void win_to_lin_struct_LeaderboardEntry_t_142(const void *w, void *l); +extern void lin_to_win_struct_LeaderboardEntry_t_142(const void *l, void *w); -extern void win_to_lin_struct_LeaderboardEntry_t_142(void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_142(void *l, void *w); +extern void win_to_lin_struct_P2PSessionState_t_142(const void *w, void *l); +extern void lin_to_win_struct_P2PSessionState_t_142(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_142(void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_142(void *l, void *w); +extern void win_to_lin_struct_ControllerAnalogActionData_t_142(const void *w, void *l); +extern void lin_to_win_struct_ControllerAnalogActionData_t_142(const void *l, void *w); -extern void win_to_lin_struct_ControllerAnalogActionData_t_142(void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_142(void *l, void *w); +extern void win_to_lin_struct_ControllerDigitalActionData_t_142(const void *w, void *l); +extern void lin_to_win_struct_ControllerDigitalActionData_t_142(const void *l, void *w); -extern void win_to_lin_struct_ControllerDigitalActionData_t_142(void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_142(void *l, void *w); +extern void win_to_lin_struct_ControllerMotionData_t_142(const void *w, void *l); +extern void lin_to_win_struct_ControllerMotionData_t_142(const void *l, void *w); -extern void win_to_lin_struct_ControllerMotionData_t_142(void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_142(void *l, void *w); +extern void win_to_lin_struct_SteamUGCDetails_t_142(const void *w, void *l); +extern void lin_to_win_struct_SteamUGCDetails_t_142(const void *l, void *w); -extern void win_to_lin_struct_SteamUGCDetails_t_142(void *w, void *l); -extern void lin_to_win_struct_SteamUGCDetails_t_142(void *l, void *w); +extern void win_to_lin_struct_SteamItemDetails_t_142(const void *w, void *l); +extern void lin_to_win_struct_SteamItemDetails_t_142(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_142(void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_142(void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_142(void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_142(void *l, void *w); - -extern void win_to_lin_struct_CCallbackBase_142(void *w, void *l); -extern void lin_to_win_struct_CCallbackBase_142(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w); - -extern void win_to_lin_struct_ValvePackingSentinel_t_142(void *w, void *l); -extern void lin_to_win_struct_ValvePackingSentinel_t_142(void *l, void *w); +extern void win_to_lin_struct_CSteamAPIContext_142(const void *w, void *l); +extern void lin_to_win_struct_CSteamAPIContext_142(const void *l, void *w);