diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index fcfb5db0..b65ae4bd 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side) diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp index e8c2ef17..3b318ab3 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamappticket.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamappticket.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h" uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *linux_side, uint32 nAppID, void * pvBuffer, uint32 cbBufferLength, uint32 * piAppId, uint32 * piSteamId, uint32 * piSignature, uint32 * pcbSignature) diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp index 16d669d8..ae20abbf 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) diff --git a/lsteamclient/cppISteamClient_SteamClient020.cpp b/lsteamclient/cppISteamClient_SteamClient020.cpp index 9097cd68..4af95b97 100644 --- a/lsteamclient/cppISteamClient_SteamClient020.cpp +++ b/lsteamclient/cppISteamClient_SteamClient020.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamClient_SteamClient020.h" HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *linux_side) diff --git a/lsteamclient/cppISteamController_SteamController008.cpp b/lsteamclient/cppISteamController_SteamController008.cpp index dfb14ecf..d58a66e6 100644 --- a/lsteamclient/cppISteamController_SteamController008.cpp +++ b/lsteamclient/cppISteamController_SteamController008.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamController_SteamController008.h" bool cppISteamController_SteamController008_Init(void *linux_side) diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.cpp b/lsteamclient/cppISteamFriends_SteamFriends017.cpp index 0d6ac123..720471d4 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends017.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends017.h" const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *linux_side) diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp index 0c272c66..6dbdc3d4 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamgamecoordinator.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamgamecoordinator.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamGameCoordinator_SteamGameCoordinator001.h" EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData) diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp index c082b1c3..1bd3faaf 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamGameSearch_SteamMatchGameSearch001.h" EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *linux_side, const char * pchKeyToFind, const char * pchValuesToFind) diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp index 9b6cac14..ec79694f 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamgameserverstats.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamgameserverstats.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamGameServerStats_SteamGameServerStats001.h" SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp new file mode 100644 index 00000000..eb68a3ec --- /dev/null +++ b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp @@ -0,0 +1,238 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#define __cdecl +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamgameserver.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_156 +#include "struct_converters.h" +#include "cppISteamGameServer_SteamGameServer015.h" +bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +{ + return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); +} + +void cppISteamGameServer_SteamGameServer015_SetProduct(void *linux_side, const char * pszProduct) +{ + ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); +} + +void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *linux_side, const char * pszGameDescription) +{ + ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); +} + +void cppISteamGameServer_SteamGameServer015_SetModDir(void *linux_side, const char * pszModDir) +{ + ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); +} + +void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *linux_side, bool bDedicated) +{ + ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); +} + +void cppISteamGameServer_SteamGameServer015_LogOn(void *linux_side, const char * pszToken) +{ + ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); +} + +void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->LogOnAnonymous(); +} + +void cppISteamGameServer_SteamGameServer015_LogOff(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->LogOff(); +} + +bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->BLoggedOn(); +} + +bool cppISteamGameServer_SteamGameServer015_BSecure(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->BSecure(); +} + +CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetSteamID(); +} + +bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->WasRestartRequested(); +} + +void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +{ + ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); +} + +void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *linux_side, int cBotplayers) +{ + ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); +} + +void cppISteamGameServer_SteamGameServer015_SetServerName(void *linux_side, const char * pszServerName) +{ + ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); +} + +void cppISteamGameServer_SteamGameServer015_SetMapName(void *linux_side, const char * pszMapName) +{ + ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); +} + +void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +{ + ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); +} + +void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +{ + ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); +} + +void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +{ + ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); +} + +void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); +} + +void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +{ + ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); +} + +void cppISteamGameServer_SteamGameServer015_SetGameTags(void *linux_side, const char * pchGameTags) +{ + ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); +} + +void cppISteamGameServer_SteamGameServer015_SetGameData(void *linux_side, const char * pchGameData) +{ + ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); +} + +void cppISteamGameServer_SteamGameServer015_SetRegion(void *linux_side, const char * pszRegion) +{ + ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); +} + +void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *linux_side, bool bActive) +{ + ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); +} + +HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSnid) +{ + return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSnid); +} + +EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); +} + +void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *linux_side, CSteamID steamID) +{ + ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); +} + +void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +{ + ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); +} + +EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +{ + return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); +} + +bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +{ + return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); +} + +void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->GetGameplayStats(); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetServerReputation(); +} + +SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->GetPublicIP(); +} + +bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +{ + return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); +} + +int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +{ + return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +{ + return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); +} + +SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +{ + return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); +} + +bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +{ + return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); +} + +CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *linux_side) +{ + return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); +} + +void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +{ + ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); +} + +bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +{ + return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); +} + +void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +{ + ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); +} + +void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +{ + ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.h b/lsteamclient/cppISteamGameServer_SteamGameServer015.h new file mode 100644 index 00000000..766d7b61 --- /dev/null +++ b/lsteamclient/cppISteamGameServer_SteamGameServer015.h @@ -0,0 +1,44 @@ +extern bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetProduct(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetModDir(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *, bool); +extern void cppISteamGameServer_SteamGameServer015_LogOn(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *); +extern void cppISteamGameServer_SteamGameServer015_LogOff(void *); +extern bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *); +extern bool cppISteamGameServer_SteamGameServer015_BSecure(void *); +extern CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *); +extern bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *); +extern void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *, int); +extern void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *, int); +extern void cppISteamGameServer_SteamGameServer015_SetServerName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetMapName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *, bool); +extern void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *, uint16); +extern void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *); +extern void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *, const char *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetGameTags(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetGameData(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetRegion(void *, const char *); +extern void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *, bool); +extern HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); +extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *, const void *, int, CSteamID); +extern void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *, CSteamID); +extern void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *, HAuthTicket); +extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *, CSteamID, AppId_t); +extern bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *, CSteamID, CSteamID); +extern void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *); +extern SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *); +extern bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *, const void *, int, uint32, uint16); +extern int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *, CSteamID); +extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *, CSteamID); +extern bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); +extern CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *); +extern void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *, CSteamID); +extern bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *, CSteamID, const char *, uint32); +extern void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); +extern void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp index bc7e6bb7..463d4805 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h" bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *linux_side) diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp index c8bfaa27..77b8f10c 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h" HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) diff --git a/lsteamclient/cppISteamInput_SteamInput006.cpp b/lsteamclient/cppISteamInput_SteamInput006.cpp index dc842129..57c032da 100644 --- a/lsteamclient/cppISteamInput_SteamInput006.cpp +++ b/lsteamclient/cppISteamInput_SteamInput006.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamInput_SteamInput006.h" bool cppISteamInput_SteamInput006_Init(void *linux_side, bool bExplicitlyCallRunFrame) diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp index c268b4e9..586f1ac7 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h" EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index c4a1f9b2..cacede28 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp index 8787147f..a6754807 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking009.h" int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side) diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp index cec1a780..b0639f2a 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char * pchName) diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp index 4fd731a4..c0f9c41f 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp index 96b7f0c9..5dd7b398 100644 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp +++ b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/steamnetworkingfakeip.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steamnetworkingfakeip.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h" EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *linux_side, const SteamNetworkingIPAddr * remoteAddress, const void * pData, uint32 cbData, int nSendFlags) diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h index f541b7bd..e9b03e5e 100644 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h +++ b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h @@ -1,4 +1,4 @@ extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(void *); extern EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *, const SteamNetworkingIPAddr *, const void *, uint32, int); -extern int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *, winSteamNetworkingMessage_t_155 **, int); +extern int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *, winSteamNetworkingMessage_t_156 **, int); extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *, const SteamNetworkingIPAddr *); diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp index 92dab9e3..a954fdb7 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamnetworkingmessages.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamnetworkingmessages.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *linux_side, const SteamNetworkingIdentity * identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h index 9ce012b9..65916e2c 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h @@ -1,5 +1,5 @@ extern EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *, const SteamNetworkingIdentity *, const void *, uint32, int, int); -extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_155 **, int); +extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_156 **, int); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *, const SteamNetworkingIdentity *); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *, const SteamNetworkingIdentity *); extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *, const SteamNetworkingIdentity *, int); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp index a78868de..0d0df156 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamnetworkingsockets.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamnetworkingsockets.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets012.h" HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h index 8e6a9b94..803738be 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h @@ -10,9 +10,9 @@ extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionU extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(void *, HSteamNetConnection, const char *); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(void *, HSteamNetConnection, char *, int); extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(void *, int, winSteamNetworkingMessage_t_155 *const *, int64 *); +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(void *, int, winSteamNetworkingMessage_t_156 *const *, int64 *); extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_155 **, int); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_156 **, int); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(void *, HSteamNetConnection, SteamNetConnectionRealTimeStatus_t *, int, SteamNetConnectionRealTimeLaneStatus_t *); extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); @@ -25,7 +25,7 @@ extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSo extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(void *); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(void *, HSteamNetPollGroup); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_155 **, int); +extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_156 **, int); extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp index 8b9c091e..cf2d4aa8 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamnetworkingutils.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamnetworkingutils.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h" ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp index 6a0d46e4..75817d08 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking006.h" bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp index e4726faa..00fca0e8 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -2,15 +2,15 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamparentalsettings.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#include "steamworks_sdk_156/isteamparentalsettings.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side) diff --git a/lsteamclient/cppISteamParties_SteamParties002.cpp b/lsteamclient/cppISteamParties_SteamParties002.cpp index eb4c9b6f..e67cf5ea 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.cpp +++ b/lsteamclient/cppISteamParties_SteamParties002.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamParties_SteamParties002.h" uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side) @@ -22,12 +22,12 @@ PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *linux_si return ((ISteamParties*)linux_side)->GetBeaconByIndex((uint32)unIndex); } -bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_155 * pLocation, char * pchMetadata, int cchMetadata) +bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_156 * pLocation, char * pchMetadata, int cchMetadata) { SteamPartyBeaconLocation_t lin_pLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_155(pLocation, &lin_pLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_156(pLocation, &lin_pLocation); bool retval = ((ISteamParties*)linux_side)->GetBeaconDetails((PartyBeaconID_t)ulBeaconID, (CSteamID *)pSteamIDBeaconOwner, &lin_pLocation, (char *)pchMetadata, (int)cchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_155(&lin_pLocation, pLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_156(&lin_pLocation, pLocation); return retval; } @@ -41,21 +41,21 @@ bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux return ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations); } -bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_155 * pLocationList, uint32 uMaxNumLocations) +bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_156 * pLocationList, uint32 uMaxNumLocations) { SteamPartyBeaconLocation_t lin_pLocationList; - win_to_lin_struct_SteamPartyBeaconLocation_t_155(pLocationList, &lin_pLocationList); + win_to_lin_struct_SteamPartyBeaconLocation_t_156(pLocationList, &lin_pLocationList); bool retval = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations); - lin_to_win_struct_SteamPartyBeaconLocation_t_155(&lin_pLocationList, pLocationList); + lin_to_win_struct_SteamPartyBeaconLocation_t_156(&lin_pLocationList, pLocationList); return retval; } -SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_155 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_156 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) { SteamPartyBeaconLocation_t lin_pBeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_155(pBeaconLocation, &lin_pBeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_156(pBeaconLocation, &lin_pBeaconLocation); SteamAPICall_t retval = ((ISteamParties*)linux_side)->CreateBeacon((uint32)unOpenSlots, &lin_pBeaconLocation, (const char *)pchConnectString, (const char *)pchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_155(&lin_pBeaconLocation, pBeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_156(&lin_pBeaconLocation, pBeaconLocation); return retval; } @@ -79,12 +79,12 @@ bool cppISteamParties_SteamParties002_DestroyBeacon(void *linux_side, PartyBeaco return ((ISteamParties*)linux_side)->DestroyBeacon((PartyBeaconID_t)ulBeacon); } -bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_155 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_156 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) { SteamPartyBeaconLocation_t lin_BeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_155(&BeaconLocation, &lin_BeaconLocation); + win_to_lin_struct_SteamPartyBeaconLocation_t_156(&BeaconLocation, &lin_BeaconLocation); bool retval = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut); - lin_to_win_struct_SteamPartyBeaconLocation_t_155(&lin_BeaconLocation, &BeaconLocation); + lin_to_win_struct_SteamPartyBeaconLocation_t_156(&lin_BeaconLocation, &BeaconLocation); return retval; } diff --git a/lsteamclient/cppISteamParties_SteamParties002.h b/lsteamclient/cppISteamParties_SteamParties002.h index f2fd532a..e97b071c 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.h +++ b/lsteamclient/cppISteamParties_SteamParties002.h @@ -1,12 +1,12 @@ extern uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *); extern PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *, uint32); -extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_155 *, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_156 *, char *, int); extern SteamAPICall_t cppISteamParties_SteamParties002_JoinParty(void *, PartyBeaconID_t); extern bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *, uint32 *); -extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_155 *, uint32); -extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_155 *, const char *, const char *); +extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_156 *, uint32); +extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_156 *, const char *, const char *); extern void cppISteamParties_SteamParties002_OnReservationCompleted(void *, PartyBeaconID_t, CSteamID); extern void cppISteamParties_SteamParties002_CancelReservation(void *, PartyBeaconID_t, CSteamID); extern SteamAPICall_t cppISteamParties_SteamParties002_ChangeNumOpenSlots(void *, PartyBeaconID_t, uint32); extern bool cppISteamParties_SteamParties002_DestroyBeacon(void *, PartyBeaconID_t); -extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_155, ESteamPartyBeaconLocationData, char *, int); +extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_156, ESteamPartyBeaconLocationData, char *, int); diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp index 39bfdd98..271dc2c2 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h" uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *linux_side) diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp index 887fffb3..846a75da 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index f6827867..2eaea97e 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h" ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp new file mode 100644 index 00000000..bbea1c58 --- /dev/null +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp @@ -0,0 +1,466 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#define __cdecl +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_156 +#include "struct_converters.h" +#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h" +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); +} + +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); +} + +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +{ + return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); +} + +UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_156 * pDetails) +{ + SteamUGCDetails_t lin_pDetails; + win_to_lin_struct_SteamUGCDetails_t_156(pDetails, &lin_pDetails); + bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); + lin_to_win_struct_SteamUGCDetails_t_156(&lin_pDetails, pDetails); + return retval; +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *linux_side, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries) +{ + return ((ISteamUGC*)linux_side)->GetQueryUGCContentDescriptors((UGCQueryHandle_t)handle, (uint32)index, (EUGCContentDescriptorID *)pvecDescriptors, (uint32)cMaxEntries); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +{ + return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +{ + return ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +{ + return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +{ + return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +{ + return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +{ + return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +{ + return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +{ + return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +{ + return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +{ + return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +{ + return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +{ + return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +{ + return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +{ + return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +{ + return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +{ + return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +{ + return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +{ + return ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +{ + return ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +{ + return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +{ + return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +{ + return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); +} + +UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +{ + return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +{ + return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +{ + return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +{ + return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +{ + return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +{ + return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +{ + return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +{ + return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +{ + return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +{ + return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +{ + return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +{ + return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +{ + return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +{ + return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +{ + return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +{ + return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +{ + return ((ISteamUGC*)linux_side)->AddContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +{ + return ((ISteamUGC*)linux_side)->RemoveContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +{ + return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); +} + +EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +{ + return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +{ + return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); +} + +uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +{ + return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +{ + return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +{ + return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +{ + return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); +} + +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *linux_side, bool bSuspend) +{ + ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +{ + return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); +} + +bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); +} + +SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *linux_side) +{ + return ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h new file mode 100644 index 00000000..3461b255 --- /dev/null +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h @@ -0,0 +1,89 @@ +extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); +extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); +extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); +extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *, UGCQueryHandle_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_156 *); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *, UGCQueryHandle_t, uint32, EUGCContentDescriptorID *, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *, UGCQueryHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *, UGCQueryHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *, UGCQueryHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *, UGCQueryHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *, PublishedFileId_t, uint32); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *, AppId_t, EWorkshopFileType); +extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *, AppId_t, PublishedFileId_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); +extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *, PublishedFileId_t, bool); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *, PublishedFileId_t); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *, PublishedFileId_t *, uint32); +extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *, PublishedFileId_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *, PublishedFileId_t, bool); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *, DepotId_t, const char *); +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *, bool); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *, PublishedFileId_t, AppId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *, PublishedFileId_t); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *, PublishedFileId_t); +extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *); +extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp index 8af494cc..602eae74 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *linux_side) @@ -162,12 +162,12 @@ SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLe return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_155 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_156 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_155(pLeaderboardEntry, &lin_pLeaderboardEntry); + win_to_lin_struct_LeaderboardEntry_t_156(pLeaderboardEntry, &lin_pLeaderboardEntry); bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_155(&lin_pLeaderboardEntry, pLeaderboardEntry); + lin_to_win_struct_LeaderboardEntry_t_156(&lin_pLeaderboardEntry, pLeaderboardEntry); return retval; } diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h index 55e7160f..58ce58e2 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h @@ -28,7 +28,7 @@ extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSIO extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_155 *, int32 *, int); +extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_156 *, int32 *, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser022.cpp b/lsteamclient/cppISteamUser_SteamUser022.cpp new file mode 100644 index 00000000..18cc5cae --- /dev/null +++ b/lsteamclient/cppISteamUser_SteamUser022.cpp @@ -0,0 +1,177 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#define __cdecl +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +#ifdef __cplusplus +extern "C" { +#endif +#define SDKVER_156 +#include "struct_converters.h" +#include "cppISteamUser_SteamUser022.h" +HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetHSteamUser(); +} + +bool cppISteamUser_SteamUser022_BLoggedOn(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BLoggedOn(); +} + +CSteamID cppISteamUser_SteamUser022_GetSteamID(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetSteamID(); +} + +int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +{ + return ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); +} + +void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +{ + ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); +} + +void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +{ + ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); +} + +bool cppISteamUser_SteamUser022_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +{ + return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); +} + +void cppISteamUser_SteamUser022_StartVoiceRecording(void *linux_side) +{ + ((ISteamUser*)linux_side)->StartVoiceRecording(); +} + +void cppISteamUser_SteamUser022_StopVoiceRecording(void *linux_side) +{ + ((ISteamUser*)linux_side)->StopVoiceRecording(); +} + +EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); +} + +EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); +} + +EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +{ + return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); +} + +uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); +} + +HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +{ + return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSteamNetworkingIdentity); +} + +EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); +} + +void cppISteamUser_SteamUser022_EndAuthSession(void *linux_side, CSteamID steamID) +{ + ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); +} + +void cppISteamUser_SteamUser022_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +{ + ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); +} + +EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +{ + return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); +} + +bool cppISteamUser_SteamUser022_BIsBehindNAT(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BIsBehindNAT(); +} + +void cppISteamUser_SteamUser022_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +{ + ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); +} + +SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +{ + return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); +} + +bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +{ + return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); +} + +int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +{ + return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); +} + +int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); +} + +SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +{ + return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); +} + +bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BIsPhoneVerified(); +} + +bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); +} + +bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); +} + +bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *linux_side) +{ + return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); +} + +SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetMarketEligibility(); +} + +SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *linux_side) +{ + return ((ISteamUser*)linux_side)->GetDurationControl(); +} + +bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +{ + return ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamUser_SteamUser022.h b/lsteamclient/cppISteamUser_SteamUser022.h new file mode 100644 index 00000000..c11324cd --- /dev/null +++ b/lsteamclient/cppISteamUser_SteamUser022.h @@ -0,0 +1,32 @@ +extern HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *); +extern bool cppISteamUser_SteamUser022_BLoggedOn(void *); +extern CSteamID cppISteamUser_SteamUser022_GetSteamID(void *); +extern int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); +extern void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); +extern void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *, CGameID, int, const char *); +extern bool cppISteamUser_SteamUser022_GetUserDataFolder(void *, char *, int); +extern void cppISteamUser_SteamUser022_StartVoiceRecording(void *); +extern void cppISteamUser_SteamUser022_StopVoiceRecording(void *); +extern EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); +extern EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); +extern EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); +extern uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *); +extern HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); +extern EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *, const void *, int, CSteamID); +extern void cppISteamUser_SteamUser022_EndAuthSession(void *, CSteamID); +extern void cppISteamUser_SteamUser022_CancelAuthTicket(void *, HAuthTicket); +extern EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *, CSteamID, AppId_t); +extern bool cppISteamUser_SteamUser022_BIsBehindNAT(void *); +extern void cppISteamUser_SteamUser022_AdvertiseGame(void *, CSteamID, uint32, uint16); +extern SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *, void *, int); +extern bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *, void *, int, uint32 *); +extern int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *, int, bool); +extern int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *); +extern SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *, const char *); +extern bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *); +extern bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *); +extern bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *); +extern bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *); +extern SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *); +extern SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *); +extern bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.cpp b/lsteamclient/cppISteamUtils_SteamUtils010.cpp index 01aa0f57..77091c92 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils010.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils010.h" uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *linux_side) diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index 727a5a77..dda8b44b 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -2,14 +2,14 @@ #pragma push_macro("__cdecl") #undef __cdecl #define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" #pragma pop_macro("__cdecl") #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif -#define SDKVER_155 +#define SDKVER_156 #include "struct_converters.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID) diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 910c2793..29740b6a 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -16,6 +16,7 @@ import re import math sdk_versions = [ + "156", "155", "154", "153a", diff --git a/lsteamclient/steam_defs.h b/lsteamclient/steam_defs.h index bffaa38e..8a443677 100644 --- a/lsteamclient/steam_defs.h +++ b/lsteamclient/steam_defs.h @@ -19,6 +19,7 @@ typedef int64 lint64; typedef uint64 ulint64; typedef uint32_t EUserUGCList, + EUGCContentDescriptorID, EUGCMatchingUGCType, EUserUGCListSortOrder, EUGCQuery, diff --git a/lsteamclient/struct_converters.h b/lsteamclient/struct_converters.h index 173f0a40..37342ccc 100644 --- a/lsteamclient/struct_converters.h +++ b/lsteamclient/struct_converters.h @@ -1,3 +1,92 @@ +#if defined(SDKVER_156) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamPartyBeaconLocation_t_156 { + ESteamPartyBeaconLocationType m_eType; + uint64 m_ulLocationID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamPartyBeaconLocation_t_156 winSteamPartyBeaconLocation_t_156; +struct SteamPartyBeaconLocation_t; +extern void win_to_lin_struct_SteamPartyBeaconLocation_t_156(const struct winSteamPartyBeaconLocation_t_156 *w, struct SteamPartyBeaconLocation_t *l); +extern void lin_to_win_struct_SteamPartyBeaconLocation_t_156(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_156 *w); +#endif + +#if defined(SDKVER_156) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winLeaderboardEntry_t_156 { + CSteamID m_steamIDUser __attribute__((aligned(1))); + int32 m_nGlobalRank; + int32 m_nScore; + int32 m_cDetails; + UGCHandle_t m_hUGC; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winLeaderboardEntry_t_156 winLeaderboardEntry_t_156; +struct LeaderboardEntry_t; +extern void win_to_lin_struct_LeaderboardEntry_t_156(const struct winLeaderboardEntry_t_156 *w, struct LeaderboardEntry_t *l); +extern void lin_to_win_struct_LeaderboardEntry_t_156(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_156 *w); +#endif + +#if defined(SDKVER_156) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamUGCDetails_t_156 { + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; + EWorkshopFileType m_eFileType; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + uint32 m_rtimeAddedToUserList; + ERemoteStoragePublishedFileVisibility m_eVisibility; + bool m_bBanned; + bool m_bAcceptedForUse; + bool m_bTagsTruncated; + char m_rgchTags[1025]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + uint32 m_unVotesUp; + uint32 m_unVotesDown; + float m_flScore; + uint32 m_unNumChildren; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamUGCDetails_t_156 winSteamUGCDetails_t_156; +struct SteamUGCDetails_t; +extern void win_to_lin_struct_SteamUGCDetails_t_156(const struct winSteamUGCDetails_t_156 *w, struct SteamUGCDetails_t *l); +extern void lin_to_win_struct_SteamUGCDetails_t_156(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_156 *w); +#endif + +#if defined(SDKVER_156) || !defined(__cplusplus) +#pragma pack( push, 8 ) +struct winSteamNetworkingMessage_t_156 { + void * m_pData; + int m_cbSize; + HSteamNetConnection m_conn; + SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); + int64 m_nConnUserData; + SteamNetworkingMicroseconds m_usecTimeReceived; + int64 m_nMessageNumber; + void *m_pfnFreeData; /*fn pointer*/ + void *m_pfnRelease; /*fn pointer*/ + int m_nChannel; + int m_nFlags; + int64 m_nUserData; + uint16 m_idxLane; + uint16 _pad1__; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +typedef struct winSteamNetworkingMessage_t_156 winSteamNetworkingMessage_t_156; +struct SteamNetworkingMessage_t; +#endif + #if defined(SDKVER_155) || !defined(__cplusplus) #pragma pack( push, 8 ) struct winSteamPartyBeaconLocation_t_155 { diff --git a/lsteamclient/struct_converters_155.cpp b/lsteamclient/struct_converters_155.cpp index fbca08c8..3ba37e0f 100644 --- a/lsteamclient/struct_converters_155.cpp +++ b/lsteamclient/struct_converters_155.cpp @@ -13,20 +13,6 @@ extern "C" { #define SDKVER_155 #include "struct_converters.h" -#pragma pack( push, 8 ) -struct winMicroTxnAuthorizationResponse_t_24 { - uint32 m_unAppID; - uint64 m_ulOrderID; - uint8 m_bAuthorized; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *lin, struct winMicroTxnAuthorizationResponse_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_bAuthorized = lin->m_bAuthorized; -} - void win_to_lin_struct_SteamPartyBeaconLocation_t_155(const struct winSteamPartyBeaconLocation_t_155 *win, struct SteamPartyBeaconLocation_t *lin) { lin->m_eType = win->m_eType; @@ -39,420 +25,6 @@ void lin_to_win_struct_SteamPartyBeaconLocation_t_155(const struct SteamPartyBea win->m_ulLocationID = lin->m_ulLocationID; } -#pragma pack( push, 8 ) -struct winLobbyCreated_t_16 { - EResult m_eResult; - uint64 m_ulSteamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LobbyCreated_t_16(const struct LobbyCreated_t *lin, struct winLobbyCreated_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameProgressCallback_t_16 { - EResult m_eResult; - uint64 m_ullSearchID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *lin, struct winRequestPlayersForGameProgressCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameResultCallback_t_64 { - EResult m_eResult; - uint64 m_ullSearchID; - CSteamID m_SteamIDPlayerFound __attribute__((aligned(1))); - CSteamID m_SteamIDLobby __attribute__((aligned(1))); - RequestPlayersForGameResultCallback_t::PlayerAcceptState_t m_ePlayerAcceptState; - int32 m_nPlayerIndex; - int32 m_nTotalPlayersFound; - int32 m_nTotalPlayersAcceptedGame; - int32 m_nSuggestedTeamIndex; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *lin, struct winRequestPlayersForGameResultCallback_t_64 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_SteamIDPlayerFound = lin->m_SteamIDPlayerFound; - win->m_SteamIDLobby = lin->m_SteamIDLobby; - win->m_ePlayerAcceptState = lin->m_ePlayerAcceptState; - win->m_nPlayerIndex = lin->m_nPlayerIndex; - win->m_nTotalPlayersFound = lin->m_nTotalPlayersFound; - win->m_nTotalPlayersAcceptedGame = lin->m_nTotalPlayersAcceptedGame; - win->m_nSuggestedTeamIndex = lin->m_nSuggestedTeamIndex; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameFinalResultCallback_t_24 { - EResult m_eResult; - uint64 m_ullSearchID; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *lin, struct winRequestPlayersForGameFinalResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winSubmitPlayerResultResultCallback_t_24 { - EResult m_eResult; - uint64 ullUniqueGameID; - CSteamID steamIDPlayer __attribute__((aligned(1))); -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *lin, struct winSubmitPlayerResultResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; - win->steamIDPlayer = lin->steamIDPlayer; -} - -#pragma pack( push, 8 ) -struct winEndGameResultCallback_t_16 { - EResult m_eResult; - uint64 ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *lin, struct winEndGameResultCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winJoinPartyCallback_t_280 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; - CSteamID m_SteamIDBeaconOwner __attribute__((aligned(1))); - char m_rgchConnectString[256]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *lin, struct winJoinPartyCallback_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; - win->m_SteamIDBeaconOwner = lin->m_SteamIDBeaconOwner; - memcpy(win->m_rgchConnectString, lin->m_rgchConnectString, sizeof(win->m_rgchConnectString)); -} - -#pragma pack( push, 8 ) -struct winCreateBeaconCallback_t_16 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *lin, struct winCreateBeaconCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageFileShareResult_t_280 { - EResult m_eResult; - UGCHandle_t m_hFile; - char m_rgchFilename[260]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - memcpy(win->m_rgchFilename, lin->m_rgchFilename, sizeof(win->m_rgchFilename)); -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDeletePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *lin, struct winRemoteStorageDeletePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *lin, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *lin, struct winRemoteStorageSubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - uint32 m_rgRTimeSubscribed[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *lin, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgRTimeSubscribed, lin->m_rgRTimeSubscribed, sizeof(win->m_rgRTimeSubscribed)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUnsubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *lin, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdatePublishedFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDownloadUGCResult_t_296 { - EResult m_eResult; - UGCHandle_t m_hFile; - AppId_t m_nAppID; - int32 m_nSizeInBytes; - char m_pchFileName[260]; - uint64 m_ulSteamIDOwner; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_296 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - win->m_nAppID = lin->m_nAppID; - win->m_nSizeInBytes = lin->m_nSizeInBytes; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - EWorkshopFileType m_eFileType; - bool m_bAcceptedForUse; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_eFileType = lin->m_eFileType; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - float m_rgScore[50]; - AppId_t m_nAppId; - uint32 m_unStartIndex; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); - win->m_nAppId = lin->m_nAppId; - win->m_unStartIndex = lin->m_unStartIndex; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 { - EResult m_eResult; - PublishedFileId_t m_unPublishedFileId; - int32 m_nVotesFor; - int32 m_nVotesAgainst; - int32 m_nReports; - float m_fScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *lin, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unPublishedFileId = lin->m_unPublishedFileId; - win->m_nVotesFor = lin->m_nVotesFor; - win->m_nVotesAgainst = lin->m_nVotesAgainst; - win->m_nReports = lin->m_nReports; - win->m_fScore = lin->m_fScore; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *lin, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUserVoteDetails_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopVote m_eVote; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *lin, struct winRemoteStorageUserVoteDetails_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eVote = lin->m_eVote; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSetUserPublishedFileActionResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopFileAction m_eAction; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *lin, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eAction = lin->m_eAction; -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishedFileUpdated_t_24 { - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; - uint64 m_ulUnused; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *lin, struct winRemoteStoragePublishedFileUpdated_t_24 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; - win->m_ulUnused = lin->m_ulUnused; -} - void win_to_lin_struct_LeaderboardEntry_t_155(const struct winLeaderboardEntry_t_155 *win, struct LeaderboardEntry_t *lin) { lin->m_steamIDUser = win->m_steamIDUser; @@ -471,136 +43,6 @@ void lin_to_win_struct_LeaderboardEntry_t_155(const struct LeaderboardEntry_t *l win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winLeaderboardScoreUploaded_t_32 { - uint8 m_bSuccess; - SteamLeaderboard_t m_hSteamLeaderboard; - int32 m_nScore; - uint8 m_bScoreChanged; - int m_nGlobalRankNew; - int m_nGlobalRankPrevious; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *lin, struct winLeaderboardScoreUploaded_t_32 *win) -{ - win->m_bSuccess = lin->m_bSuccess; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; - win->m_nScore = lin->m_nScore; - win->m_bScoreChanged = lin->m_bScoreChanged; - win->m_nGlobalRankNew = lin->m_nGlobalRankNew; - win->m_nGlobalRankPrevious = lin->m_nGlobalRankPrevious; -} - -#pragma pack( push, 8 ) -struct winLeaderboardUGCSet_t_16 { - EResult m_eResult; - SteamLeaderboard_t m_hSteamLeaderboard; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *lin, struct winLeaderboardUGCSet_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; -} - -#pragma pack( push, 8 ) -struct winPS3TrophiesInstalled_t_24 { - uint64 m_nGameID; - EResult m_eResult; - uint64 m_ulRequiredDiskSpace; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *lin, struct winPS3TrophiesInstalled_t_24 *win) -{ - win->m_nGameID = lin->m_nGameID; - win->m_eResult = lin->m_eResult; - win->m_ulRequiredDiskSpace = lin->m_ulRequiredDiskSpace; -} - -#pragma pack( push, 8 ) -struct winFileDetailsResult_t_40 { - EResult m_eResult; - uint64 m_ulFileSize; - uint8 m_FileSHA[20]; - uint32 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *lin, struct winFileDetailsResult_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulFileSize = lin->m_ulFileSize; - memcpy(win->m_FileSHA, lin->m_FileSHA, sizeof(win->m_FileSHA)); - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestCompleted_t_32 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - bool m_bRequestSuccessful; - EHTTPStatusCode m_eStatusCode; - uint32 m_unBodySize; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_32 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_bRequestSuccessful = lin->m_bRequestSuccessful; - win->m_eStatusCode = lin->m_eStatusCode; - win->m_unBodySize = lin->m_unBodySize; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestHeadersReceived_t_16 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *lin, struct winHTTPRequestHeadersReceived_t_16 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestDataReceived_t_24 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - uint32 m_cOffset; - uint32 m_cBytesReceived; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *lin, struct winHTTPRequestDataReceived_t_24 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_cOffset = lin->m_cOffset; - win->m_cBytesReceived = lin->m_cBytesReceived; -} - -#pragma pack( push, 8 ) -struct winSteamInputConfigurationLoaded_t_40 { - AppId_t m_unAppID; - InputHandle_t m_ulDeviceHandle; - CSteamID m_ulMappingCreator __attribute__((aligned(1))); - uint32 m_unMajorRevision; - uint32 m_unMinorRevision; - bool m_bUsesSteamInputAPI; - bool m_bUsesGamepadAPI; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *lin, struct winSteamInputConfigurationLoaded_t_40 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulDeviceHandle = lin->m_ulDeviceHandle; - win->m_ulMappingCreator = lin->m_ulMappingCreator; - win->m_unMajorRevision = lin->m_unMajorRevision; - win->m_unMinorRevision = lin->m_unMinorRevision; - win->m_bUsesSteamInputAPI = lin->m_bUsesSteamInputAPI; - win->m_bUsesGamepadAPI = lin->m_bUsesGamepadAPI; -} - void win_to_lin_struct_SteamUGCDetails_t_155(const struct winSteamUGCDetails_t_155 *win, struct SteamUGCDetails_t *lin) { lin->m_nPublishedFileId = win->m_nPublishedFileId; @@ -661,767 +103,5 @@ void lin_to_win_struct_SteamUGCDetails_t_155(const struct SteamUGCDetails_t *lin win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9784 { - winSteamUGCDetails_t_155 m_details; - bool m_bCachedData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9784 *win) -{ - lin_to_win_struct_SteamUGCDetails_t_155(&lin->m_details, &win->m_details); - win->m_bCachedData = lin->m_bCachedData; -} - -#pragma pack( push, 8 ) -struct winCreateItemResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateItemResult_t_24(const struct CreateItemResult_t *lin, struct winCreateItemResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winItemInstalled_t_16 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_ItemInstalled_t_16(const struct ItemInstalled_t *lin, struct winItemInstalled_t_16 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winDownloadItemResult_t_24 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *lin, struct winDownloadItemResult_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; -} - -#pragma pack( push, 8 ) -struct winAddUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *lin, struct winAddUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoveUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *lin, struct winRemoveUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winAddAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *lin, struct winAddAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winRemoveAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *lin, struct winRemoveAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winGetAppDependenciesResult_t_152 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_rgAppIDs[32]; - uint32 m_nNumAppDependencies; - uint32 m_nTotalNumAppDependencies; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *lin, struct winGetAppDependenciesResult_t_152 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - memcpy(win->m_rgAppIDs, lin->m_rgAppIDs, sizeof(win->m_rgAppIDs)); - win->m_nNumAppDependencies = lin->m_nNumAppDependencies; - win->m_nTotalNumAppDependencies = lin->m_nTotalNumAppDependencies; -} - -#pragma pack( push, 8 ) -struct winDeleteItemResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *lin, struct winDeleteItemResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_56 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_56 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_20 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_20 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_32 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_32 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_28 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_28 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#pragma pack( push, 8 ) -struct winSteamInventoryStartPurchaseResult_t_24 { - EResult m_result; - uint64 m_ulOrderID; - uint64 m_ulTransID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *lin, struct winSteamInventoryStartPurchaseResult_t_24 *win) -{ - win->m_result = lin->m_result; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_ulTransID = lin->m_ulTransID; -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_712 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_712 *win) -{ - win->m_hConn = lin->m_hConn; - win->m_info = lin->m_info; - win->m_eOldState = lin->m_eOldState; -} - -#pragma pack( push, 8 ) -struct winGSReputation_t_40 { - EResult m_eResult; - uint32 m_unReputationScore; - bool m_bBanned; - uint32 m_unBannedIP; - uint16 m_usBannedPort; - uint64 m_ulBannedGameID; - uint32 m_unBanExpires; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GSReputation_t_40(const struct GSReputation_t *lin, struct winGSReputation_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unReputationScore = lin->m_unReputationScore; - win->m_bBanned = lin->m_bBanned; - win->m_unBannedIP = lin->m_unBannedIP; - win->m_usBannedPort = lin->m_usBannedPort; - win->m_ulBannedGameID = lin->m_ulBannedGameID; - win->m_unBanExpires = lin->m_unBanExpires; -} - } diff --git a/lsteamclient/struct_converters_156.cpp b/lsteamclient/struct_converters_156.cpp new file mode 100644 index 00000000..096b56e3 --- /dev/null +++ b/lsteamclient/struct_converters_156.cpp @@ -0,0 +1,1427 @@ +#include "steam_defs.h" +#pragma push_macro("__cdecl") +#undef __cdecl +#define __cdecl +#include "steamworks_sdk_156/steam_api.h" +#include "steamworks_sdk_156/isteamgameserver.h" +#include "steamworks_sdk_156/isteamnetworkingsockets.h" +#include "steamworks_sdk_156/isteamgameserverstats.h" +#include "steamworks_sdk_156/isteamgamecoordinator.h" +#include "steamworks_sdk_156/steamnetworkingtypes.h" +#pragma pop_macro("__cdecl") +#include "steamclient_private.h" +extern "C" { +#define SDKVER_156 +#include "struct_converters.h" +#pragma pack( push, 8 ) +struct winMicroTxnAuthorizationResponse_t_24 { + uint32 m_unAppID; + uint64 m_ulOrderID; + uint8 m_bAuthorized; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *lin, struct winMicroTxnAuthorizationResponse_t_24 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_ulOrderID = lin->m_ulOrderID; + win->m_bAuthorized = lin->m_bAuthorized; +} + +void win_to_lin_struct_SteamPartyBeaconLocation_t_156(const struct winSteamPartyBeaconLocation_t_156 *win, struct SteamPartyBeaconLocation_t *lin) +{ + lin->m_eType = win->m_eType; + lin->m_ulLocationID = win->m_ulLocationID; +} + +void lin_to_win_struct_SteamPartyBeaconLocation_t_156(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_156 *win) +{ + win->m_eType = lin->m_eType; + win->m_ulLocationID = lin->m_ulLocationID; +} + +#pragma pack( push, 8 ) +struct winLobbyCreated_t_16 { + EResult m_eResult; + uint64 m_ulSteamIDLobby; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LobbyCreated_t_16(const struct LobbyCreated_t *lin, struct winLobbyCreated_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameProgressCallback_t_16 { + EResult m_eResult; + uint64 m_ullSearchID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *lin, struct winRequestPlayersForGameProgressCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameResultCallback_t_64 { + EResult m_eResult; + uint64 m_ullSearchID; + CSteamID m_SteamIDPlayerFound __attribute__((aligned(1))); + CSteamID m_SteamIDLobby __attribute__((aligned(1))); + RequestPlayersForGameResultCallback_t::PlayerAcceptState_t m_ePlayerAcceptState; + int32 m_nPlayerIndex; + int32 m_nTotalPlayersFound; + int32 m_nTotalPlayersAcceptedGame; + int32 m_nSuggestedTeamIndex; + uint64 m_ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *lin, struct winRequestPlayersForGameResultCallback_t_64 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; + win->m_SteamIDPlayerFound = lin->m_SteamIDPlayerFound; + win->m_SteamIDLobby = lin->m_SteamIDLobby; + win->m_ePlayerAcceptState = lin->m_ePlayerAcceptState; + win->m_nPlayerIndex = lin->m_nPlayerIndex; + win->m_nTotalPlayersFound = lin->m_nTotalPlayersFound; + win->m_nTotalPlayersAcceptedGame = lin->m_nTotalPlayersAcceptedGame; + win->m_nSuggestedTeamIndex = lin->m_nSuggestedTeamIndex; + win->m_ullUniqueGameID = lin->m_ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winRequestPlayersForGameFinalResultCallback_t_24 { + EResult m_eResult; + uint64 m_ullSearchID; + uint64 m_ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *lin, struct winRequestPlayersForGameFinalResultCallback_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ullSearchID = lin->m_ullSearchID; + win->m_ullUniqueGameID = lin->m_ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winSubmitPlayerResultResultCallback_t_24 { + EResult m_eResult; + uint64 ullUniqueGameID; + CSteamID steamIDPlayer __attribute__((aligned(1))); +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *lin, struct winSubmitPlayerResultResultCallback_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->ullUniqueGameID = lin->ullUniqueGameID; + win->steamIDPlayer = lin->steamIDPlayer; +} + +#pragma pack( push, 8 ) +struct winEndGameResultCallback_t_16 { + EResult m_eResult; + uint64 ullUniqueGameID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *lin, struct winEndGameResultCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->ullUniqueGameID = lin->ullUniqueGameID; +} + +#pragma pack( push, 8 ) +struct winJoinPartyCallback_t_280 { + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner __attribute__((aligned(1))); + char m_rgchConnectString[256]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *lin, struct winJoinPartyCallback_t_280 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulBeaconID = lin->m_ulBeaconID; + win->m_SteamIDBeaconOwner = lin->m_SteamIDBeaconOwner; + memcpy(win->m_rgchConnectString, lin->m_rgchConnectString, sizeof(win->m_rgchConnectString)); +} + +#pragma pack( push, 8 ) +struct winCreateBeaconCallback_t_16 { + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *lin, struct winCreateBeaconCallback_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulBeaconID = lin->m_ulBeaconID; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageFileShareResult_t_280 { + EResult m_eResult; + UGCHandle_t m_hFile; + char m_rgchFilename[260]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_280 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hFile = lin->m_hFile; + memcpy(win->m_rgchFilename, lin->m_rgchFilename, sizeof(win->m_rgchFilename)); +} + +#pragma pack( push, 8 ) +struct winRemoteStoragePublishFileResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageDeletePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *lin, struct winRemoteStorageDeletePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *lin, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageSubscribePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *lin, struct winRemoteStorageSubscribePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + uint32 m_rgRTimeSubscribed[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *lin, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); + memcpy(win->m_rgRTimeSubscribed, lin->m_rgRTimeSubscribed, sizeof(win->m_rgRTimeSubscribed)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUnsubscribePublishedFileResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *lin, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUpdatePublishedFileResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageDownloadUGCResult_t_296 { + EResult m_eResult; + UGCHandle_t m_hFile; + AppId_t m_nAppID; + int32 m_nSizeInBytes; + char m_pchFileName[260]; + uint64 m_ulSteamIDOwner; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_296 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hFile = lin->m_hFile; + win->m_nAppID = lin->m_nAppID; + win->m_nSizeInBytes = lin->m_nSizeInBytes; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + ERemoteStoragePublishedFileVisibility m_eVisibility; + bool m_bBanned; + char m_rgchTags[1025]; + bool m_bTagsTruncated; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + EWorkshopFileType m_eFileType; + bool m_bAcceptedForUse; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nCreatorAppID = lin->m_nCreatorAppID; + win->m_nConsumerAppID = lin->m_nConsumerAppID; + memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); + memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); + win->m_hFile = lin->m_hFile; + win->m_hPreviewFile = lin->m_hPreviewFile; + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; + win->m_rtimeCreated = lin->m_rtimeCreated; + win->m_rtimeUpdated = lin->m_rtimeUpdated; + win->m_eVisibility = lin->m_eVisibility; + win->m_bBanned = lin->m_bBanned; + memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); + win->m_bTagsTruncated = lin->m_bTagsTruncated; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_nFileSize = lin->m_nFileSize; + win->m_nPreviewFileSize = lin->m_nPreviewFileSize; + memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); + win->m_eFileType = lin->m_eFileType; + win->m_bAcceptedForUse = lin->m_bAcceptedForUse; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + float m_rgScore[50]; + AppId_t m_nAppId; + uint32 m_unStartIndex; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); + memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); + win->m_nAppId = lin->m_nAppId; + win->m_unStartIndex = lin->m_unStartIndex; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 { + EResult m_eResult; + PublishedFileId_t m_unPublishedFileId; + int32 m_nVotesFor; + int32 m_nVotesAgainst; + int32 m_nReports; + float m_fScore; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *lin, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_unPublishedFileId = lin->m_unPublishedFileId; + win->m_nVotesFor = lin->m_nVotesFor; + win->m_nVotesAgainst = lin->m_nVotesAgainst; + win->m_nReports = lin->m_nReports; + win->m_fScore = lin->m_fScore; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *lin, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageUserVoteDetails_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + EWorkshopVote m_eVote; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *lin, struct winRemoteStorageUserVoteDetails_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eVote = lin->m_eVote; +} + +#pragma pack( push, 8 ) +struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 { + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nResultsReturned = lin->m_nResultsReturned; + win->m_nTotalResultCount = lin->m_nTotalResultCount; + memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); +} + +#pragma pack( push, 8 ) +struct winRemoteStorageSetUserPublishedFileActionResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + EWorkshopFileAction m_eAction; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *lin, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eAction = lin->m_eAction; +} + +#pragma pack( push, 8 ) +struct winRemoteStoragePublishedFileUpdated_t_24 { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; + uint64 m_ulUnused; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *lin, struct winRemoteStoragePublishedFileUpdated_t_24 *win) +{ + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; + win->m_ulUnused = lin->m_ulUnused; +} + +void win_to_lin_struct_LeaderboardEntry_t_156(const struct winLeaderboardEntry_t_156 *win, struct LeaderboardEntry_t *lin) +{ + lin->m_steamIDUser = win->m_steamIDUser; + lin->m_nGlobalRank = win->m_nGlobalRank; + lin->m_nScore = win->m_nScore; + lin->m_cDetails = win->m_cDetails; + lin->m_hUGC = win->m_hUGC; +} + +void lin_to_win_struct_LeaderboardEntry_t_156(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_156 *win) +{ + win->m_steamIDUser = lin->m_steamIDUser; + win->m_nGlobalRank = lin->m_nGlobalRank; + win->m_nScore = lin->m_nScore; + win->m_cDetails = lin->m_cDetails; + win->m_hUGC = lin->m_hUGC; +} + +#pragma pack( push, 8 ) +struct winLeaderboardScoreUploaded_t_32 { + uint8 m_bSuccess; + SteamLeaderboard_t m_hSteamLeaderboard; + int32 m_nScore; + uint8 m_bScoreChanged; + int m_nGlobalRankNew; + int m_nGlobalRankPrevious; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *lin, struct winLeaderboardScoreUploaded_t_32 *win) +{ + win->m_bSuccess = lin->m_bSuccess; + win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; + win->m_nScore = lin->m_nScore; + win->m_bScoreChanged = lin->m_bScoreChanged; + win->m_nGlobalRankNew = lin->m_nGlobalRankNew; + win->m_nGlobalRankPrevious = lin->m_nGlobalRankPrevious; +} + +#pragma pack( push, 8 ) +struct winLeaderboardUGCSet_t_16 { + EResult m_eResult; + SteamLeaderboard_t m_hSteamLeaderboard; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *lin, struct winLeaderboardUGCSet_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; +} + +#pragma pack( push, 8 ) +struct winPS3TrophiesInstalled_t_24 { + uint64 m_nGameID; + EResult m_eResult; + uint64 m_ulRequiredDiskSpace; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *lin, struct winPS3TrophiesInstalled_t_24 *win) +{ + win->m_nGameID = lin->m_nGameID; + win->m_eResult = lin->m_eResult; + win->m_ulRequiredDiskSpace = lin->m_ulRequiredDiskSpace; +} + +#pragma pack( push, 8 ) +struct winFileDetailsResult_t_40 { + EResult m_eResult; + uint64 m_ulFileSize; + uint8 m_FileSHA[20]; + uint32 m_unFlags; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *lin, struct winFileDetailsResult_t_40 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_ulFileSize = lin->m_ulFileSize; + memcpy(win->m_FileSHA, lin->m_FileSHA, sizeof(win->m_FileSHA)); + win->m_unFlags = lin->m_unFlags; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestCompleted_t_32 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + bool m_bRequestSuccessful; + EHTTPStatusCode m_eStatusCode; + uint32 m_unBodySize; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_32 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; + win->m_bRequestSuccessful = lin->m_bRequestSuccessful; + win->m_eStatusCode = lin->m_eStatusCode; + win->m_unBodySize = lin->m_unBodySize; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestHeadersReceived_t_16 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *lin, struct winHTTPRequestHeadersReceived_t_16 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; +} + +#pragma pack( push, 8 ) +struct winHTTPRequestDataReceived_t_24 { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + uint32 m_cOffset; + uint32 m_cBytesReceived; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *lin, struct winHTTPRequestDataReceived_t_24 *win) +{ + win->m_hRequest = lin->m_hRequest; + win->m_ulContextValue = lin->m_ulContextValue; + win->m_cOffset = lin->m_cOffset; + win->m_cBytesReceived = lin->m_cBytesReceived; +} + +#pragma pack( push, 8 ) +struct winSteamInputConfigurationLoaded_t_40 { + AppId_t m_unAppID; + InputHandle_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator __attribute__((aligned(1))); + uint32 m_unMajorRevision; + uint32 m_unMinorRevision; + bool m_bUsesSteamInputAPI; + bool m_bUsesGamepadAPI; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *lin, struct winSteamInputConfigurationLoaded_t_40 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_ulDeviceHandle = lin->m_ulDeviceHandle; + win->m_ulMappingCreator = lin->m_ulMappingCreator; + win->m_unMajorRevision = lin->m_unMajorRevision; + win->m_unMinorRevision = lin->m_unMinorRevision; + win->m_bUsesSteamInputAPI = lin->m_bUsesSteamInputAPI; + win->m_bUsesGamepadAPI = lin->m_bUsesGamepadAPI; +} + +void win_to_lin_struct_SteamUGCDetails_t_156(const struct winSteamUGCDetails_t_156 *win, struct SteamUGCDetails_t *lin) +{ + lin->m_nPublishedFileId = win->m_nPublishedFileId; + lin->m_eResult = win->m_eResult; + lin->m_eFileType = win->m_eFileType; + lin->m_nCreatorAppID = win->m_nCreatorAppID; + lin->m_nConsumerAppID = win->m_nConsumerAppID; + memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); + memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); + lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; + lin->m_rtimeCreated = win->m_rtimeCreated; + lin->m_rtimeUpdated = win->m_rtimeUpdated; + lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; + lin->m_eVisibility = win->m_eVisibility; + lin->m_bBanned = win->m_bBanned; + lin->m_bAcceptedForUse = win->m_bAcceptedForUse; + lin->m_bTagsTruncated = win->m_bTagsTruncated; + memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); + lin->m_hFile = win->m_hFile; + lin->m_hPreviewFile = win->m_hPreviewFile; + memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); + lin->m_nFileSize = win->m_nFileSize; + lin->m_nPreviewFileSize = win->m_nPreviewFileSize; + memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); + lin->m_unVotesUp = win->m_unVotesUp; + lin->m_unVotesDown = win->m_unVotesDown; + lin->m_flScore = win->m_flScore; + lin->m_unNumChildren = win->m_unNumChildren; +} + +void lin_to_win_struct_SteamUGCDetails_t_156(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_156 *win) +{ + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eResult = lin->m_eResult; + win->m_eFileType = lin->m_eFileType; + win->m_nCreatorAppID = lin->m_nCreatorAppID; + win->m_nConsumerAppID = lin->m_nConsumerAppID; + memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); + memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); + win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; + win->m_rtimeCreated = lin->m_rtimeCreated; + win->m_rtimeUpdated = lin->m_rtimeUpdated; + win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; + win->m_eVisibility = lin->m_eVisibility; + win->m_bBanned = lin->m_bBanned; + win->m_bAcceptedForUse = lin->m_bAcceptedForUse; + win->m_bTagsTruncated = lin->m_bTagsTruncated; + memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); + win->m_hFile = lin->m_hFile; + win->m_hPreviewFile = lin->m_hPreviewFile; + memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); + win->m_nFileSize = lin->m_nFileSize; + win->m_nPreviewFileSize = lin->m_nPreviewFileSize; + memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); + win->m_unVotesUp = lin->m_unVotesUp; + win->m_unVotesDown = lin->m_unVotesDown; + win->m_flScore = lin->m_flScore; + win->m_unNumChildren = lin->m_unNumChildren; +} + +#pragma pack( push, 8 ) +struct winSteamUGCRequestUGCDetailsResult_t_9784 { + winSteamUGCDetails_t_156 m_details; + bool m_bCachedData; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9784 *win) +{ + lin_to_win_struct_SteamUGCDetails_t_156(&lin->m_details, &win->m_details); + win->m_bCachedData = lin->m_bCachedData; +} + +#pragma pack( push, 8 ) +struct winCreateItemResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_CreateItemResult_t_24(const struct CreateItemResult_t *lin, struct winCreateItemResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; +} + +#pragma pack( push, 8 ) +struct winItemInstalled_t_16 { + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_ItemInstalled_t_16(const struct ItemInstalled_t *lin, struct winItemInstalled_t_16 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winDownloadItemResult_t_24 { + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *lin, struct winDownloadItemResult_t_24 *win) +{ + win->m_unAppID = lin->m_unAppID; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_eResult = lin->m_eResult; +} + +#pragma pack( push, 8 ) +struct winAddUGCDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *lin, struct winAddUGCDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winRemoveUGCDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *lin, struct winRemoveUGCDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; +} + +#pragma pack( push, 8 ) +struct winAddAppDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *lin, struct winAddAppDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; +} + +#pragma pack( push, 8 ) +struct winRemoveAppDependencyResult_t_24 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *lin, struct winRemoveAppDependencyResult_t_24 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + win->m_nAppID = lin->m_nAppID; +} + +#pragma pack( push, 8 ) +struct winGetAppDependenciesResult_t_152 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_rgAppIDs[32]; + uint32 m_nNumAppDependencies; + uint32 m_nTotalNumAppDependencies; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *lin, struct winGetAppDependenciesResult_t_152 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; + memcpy(win->m_rgAppIDs, lin->m_rgAppIDs, sizeof(win->m_rgAppIDs)); + win->m_nNumAppDependencies = lin->m_nNumAppDependencies; + win->m_nTotalNumAppDependencies = lin->m_nTotalNumAppDependencies; +} + +#pragma pack( push, 8 ) +struct winDeleteItemResult_t_16 { + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *lin, struct winDeleteItemResult_t_16 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_nPublishedFileId = lin->m_nPublishedFileId; +} + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_NeedsPaint_t_48 { + HHTMLBrowser unBrowserHandle; + const char * pBGRA; + uint32 unWide; + uint32 unTall; + uint32 unUpdateX; + uint32 unUpdateY; + uint32 unUpdateWide; + uint32 unUpdateTall; + uint32 unScrollX; + uint32 unScrollY; + float flPageScale; + uint32 unPageSerial; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_NeedsPaint_t_56 { + HHTMLBrowser unBrowserHandle; + const char * pBGRA; + uint32 unWide; + uint32 unTall; + uint32 unUpdateX; + uint32 unUpdateY; + uint32 unUpdateWide; + uint32 unUpdateTall; + uint32 unScrollX; + uint32 unScrollY; + float flPageScale; + uint32 unPageSerial; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_56 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pBGRA = lin->pBGRA; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unUpdateX = lin->unUpdateX; + win->unUpdateY = lin->unUpdateY; + win->unUpdateWide = lin->unUpdateWide; + win->unUpdateTall = lin->unUpdateTall; + win->unScrollX = lin->unScrollX; + win->unScrollY = lin->unScrollY; + win->flPageScale = lin->flPageScale; + win->unPageSerial = lin->unPageSerial; +} +#endif + +#ifdef __i386__ +void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_48 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pBGRA = lin->pBGRA; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unUpdateX = lin->unUpdateX; + win->unUpdateY = lin->unUpdateY; + win->unUpdateWide = lin->unUpdateWide; + win->unUpdateTall = lin->unUpdateTall; + win->unScrollX = lin->unScrollX; + win->unScrollY = lin->unScrollY; + win->flPageScale = lin->flPageScale; + win->unPageSerial = lin->unPageSerial; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_StartRequest_t_20 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchTarget; + const char * pchPostData; + bool bIsRedirect; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_StartRequest_t_40 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchTarget; + const char * pchPostData; + bool bIsRedirect; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_40 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchTarget = lin->pchTarget; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; +} +#endif + +#ifdef __i386__ +void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_20 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchTarget = lin->pchTarget; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_URLChanged_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPostData; + bool bIsRedirect; + const char * pchPageTitle; + bool bNewNavigation; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_URLChanged_t_48 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPostData; + bool bIsRedirect; + const char * pchPageTitle; + bool bNewNavigation; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_48 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; + win->pchPageTitle = lin->pchPageTitle; + win->bNewNavigation = lin->bNewNavigation; +} +#endif + +#ifdef __i386__ +void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPostData = lin->pchPostData; + win->bIsRedirect = lin->bIsRedirect; + win->pchPageTitle = lin->pchPageTitle; + win->bNewNavigation = lin->bNewNavigation; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_FinishedRequest_t_12 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPageTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_FinishedRequest_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPageTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPageTitle = lin->pchPageTitle; +} +#endif + +#ifdef __i386__ +void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_12 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->pchPageTitle = lin->pchPageTitle; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_OpenLinkInNewTab_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_OpenLinkInNewTab_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; +} +#endif + +#ifdef __i386__ +void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_ChangedTitle_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_ChangedTitle_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; +} +#endif + +#ifdef __i386__ +void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_LinkAtPosition_t_20 { + HHTMLBrowser unBrowserHandle; + uint32 x; + uint32 y; + const char * pchURL; + bool bInput; + bool bLiveLink; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_LinkAtPosition_t_32 { + HHTMLBrowser unBrowserHandle; + uint32 x; + uint32 y; + const char * pchURL; + bool bInput; + bool bLiveLink; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_32 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->x = lin->x; + win->y = lin->y; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->bInput = lin->bInput; + win->bLiveLink = lin->bLiveLink; +} +#endif + +#ifdef __i386__ +void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_20 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->x = lin->x; + win->y = lin->y; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->bInput = lin->bInput; + win->bLiveLink = lin->bLiveLink; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_JSAlert_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_JSAlert_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_JSConfirm_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_JSConfirm_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMessage = lin->pchMessage; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_FileOpenDialog_t_12 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; + const char * pchInitialFile; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_FileOpenDialog_t_24 { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; + const char * pchInitialFile; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_24 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; + steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + win->pchInitialFile = g_tmppath; +} +#endif + +#ifdef __i386__ +void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_12 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchTitle = lin->pchTitle; + steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + win->pchInitialFile = g_tmppath; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_NewWindow_t_28 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + uint32 unX; + uint32 unY; + uint32 unWide; + uint32 unTall; + HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_NewWindow_t_40 { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + uint32 unX; + uint32 unY; + uint32 unWide; + uint32 unTall; + HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_40 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->unX = lin->unX; + win->unY = lin->unY; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; +} +#endif + +#ifdef __i386__ +void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_28 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); + win->pchURL = g_tmppath; + win->unX = lin->unX; + win->unY = lin->unY; + win->unWide = lin->unWide; + win->unTall = lin->unTall; + win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_StatusText_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_StatusText_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_ShowToolTip_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_ShowToolTip_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +#pragma pack( push, 8 ) +struct winHTML_UpdateToolTip_t_8 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +#pragma pack( push, 8 ) +struct winHTML_UpdateToolTip_t_16 { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +#endif +#ifdef __x86_64__ +void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_16 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#ifdef __i386__ +void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_8 *win) +{ + win->unBrowserHandle = lin->unBrowserHandle; + win->pchMsg = lin->pchMsg; +} +#endif + +#pragma pack( push, 8 ) +struct winSteamInventoryStartPurchaseResult_t_24 { + EResult m_result; + uint64 m_ulOrderID; + uint64 m_ulTransID; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *lin, struct winSteamInventoryStartPurchaseResult_t_24 *win) +{ + win->m_result = lin->m_result; + win->m_ulOrderID = lin->m_ulOrderID; + win->m_ulTransID = lin->m_ulTransID; +} + +#pragma pack( push, 8 ) +struct winSteamNetConnectionStatusChangedCallback_t_712 { + HSteamNetConnection m_hConn; + SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); + ESteamNetworkingConnectionState m_eOldState; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_712 *win) +{ + win->m_hConn = lin->m_hConn; + win->m_info = lin->m_info; + win->m_eOldState = lin->m_eOldState; +} + +#pragma pack( push, 8 ) +struct winGSReputation_t_40 { + EResult m_eResult; + uint32 m_unReputationScore; + bool m_bBanned; + uint32 m_unBannedIP; + uint16 m_usBannedPort; + uint64 m_ulBannedGameID; + uint32 m_unBanExpires; +} __attribute__ ((ms_struct)); +#pragma pack( pop ) +void cb_GSReputation_t_40(const struct GSReputation_t *lin, struct winGSReputation_t_40 *win) +{ + win->m_eResult = lin->m_eResult; + win->m_unReputationScore = lin->m_unReputationScore; + win->m_bBanned = lin->m_bBanned; + win->m_unBannedIP = lin->m_unBannedIP; + win->m_usBannedPort = lin->m_usBannedPort; + win->m_ulBannedGameID = lin->m_ulBannedGameID; + win->m_unBanExpires = lin->m_unBanExpires; +} + + +} diff --git a/lsteamclient/winISteamGameServer.c b/lsteamclient/winISteamGameServer.c index 9246f543..f35cb064 100644 --- a/lsteamclient/winISteamGameServer.c +++ b/lsteamclient/winISteamGameServer.c @@ -15,6 +15,388 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamGameServer_SteamGameServer015.h" + +typedef struct __winISteamGameServer_SteamGameServer015 { + vtable_ptr *vtable; + void *linux_side; +} winISteamGameServer_SteamGameServer015; + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_InitGameServer, 28) +bool __thiscall winISteamGameServer_SteamGameServer015_InitGameServer(winISteamGameServer_SteamGameServer015 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetProduct, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetProduct(winISteamGameServer_SteamGameServer015 *_this, const char * pszProduct) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetProduct(_this->linux_side, pszProduct); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameDescription, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameDescription(winISteamGameServer_SteamGameServer015 *_this, const char * pszGameDescription) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetGameDescription(_this->linux_side, pszGameDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetModDir, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetModDir(winISteamGameServer_SteamGameServer015 *_this, const char * pszModDir) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetModDir(_this->linux_side, pszModDir); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetDedicatedServer, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetDedicatedServer(winISteamGameServer_SteamGameServer015 *_this, bool bDedicated) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetDedicatedServer(_this->linux_side, bDedicated); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOn, 8) +void __thiscall winISteamGameServer_SteamGameServer015_LogOn(winISteamGameServer_SteamGameServer015 *_this, const char * pszToken) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_LogOn(_this->linux_side, pszToken); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOnAnonymous, 4) +void __thiscall winISteamGameServer_SteamGameServer015_LogOnAnonymous(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_LogOnAnonymous(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOff, 4) +void __thiscall winISteamGameServer_SteamGameServer015_LogOff(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_LogOff(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BLoggedOn, 4) +bool __thiscall winISteamGameServer_SteamGameServer015_BLoggedOn(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_BLoggedOn(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BSecure, 4) +bool __thiscall winISteamGameServer_SteamGameServer015_BSecure(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_BSecure(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetSteamID, 8) +CSteamID *__thiscall winISteamGameServer_SteamGameServer015_GetSteamID(winISteamGameServer_SteamGameServer015 *_this, CSteamID *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer015_GetSteamID(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_WasRestartRequested, 4) +bool __thiscall winISteamGameServer_SteamGameServer015_WasRestartRequested(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_WasRestartRequested(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetMaxPlayerCount(winISteamGameServer_SteamGameServer015 *_this, int cPlayersMax) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(_this->linux_side, cPlayersMax); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetBotPlayerCount, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetBotPlayerCount(winISteamGameServer_SteamGameServer015 *_this, int cBotplayers) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(_this->linux_side, cBotplayers); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetServerName, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetServerName(winISteamGameServer_SteamGameServer015 *_this, const char * pszServerName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetServerName(_this->linux_side, pszServerName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMapName, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetMapName(winISteamGameServer_SteamGameServer015 *_this, const char * pszMapName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetMapName(_this->linux_side, pszMapName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetPasswordProtected, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetPasswordProtected(winISteamGameServer_SteamGameServer015 *_this, bool bPasswordProtected) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetPasswordProtected(_this->linux_side, bPasswordProtected); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorPort, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorPort(winISteamGameServer_SteamGameServer015 *_this, uint16 unSpectatorPort) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetSpectatorPort(_this->linux_side, unSpectatorPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorServerName, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorServerName(winISteamGameServer_SteamGameServer015 *_this, const char * pszSpectatorServerName) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ClearAllKeyValues, 4) +void __thiscall winISteamGameServer_SteamGameServer015_ClearAllKeyValues(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetKeyValue, 12) +void __thiscall winISteamGameServer_SteamGameServer015_SetKeyValue(winISteamGameServer_SteamGameServer015 *_this, const char * pKey, const char * pValue) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetKeyValue(_this->linux_side, pKey, pValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameTags, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameTags(winISteamGameServer_SteamGameServer015 *_this, const char * pchGameTags) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetGameTags(_this->linux_side, pchGameTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameData, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameData(winISteamGameServer_SteamGameServer015 *_this, const char * pchGameData) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetGameData(_this->linux_side, pchGameData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetRegion, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetRegion(winISteamGameServer_SteamGameServer015 *_this, const char * pszRegion) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetRegion(_this->linux_side, pszRegion); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(winISteamGameServer_SteamGameServer015 *_this, bool bActive) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(_this->linux_side, bActive); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket, 20) +HAuthTicket __thiscall winISteamGameServer_SteamGameServer015_GetAuthSessionTicket(winISteamGameServer_SteamGameServer015 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSnid) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket, pSnid); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BeginAuthSession, 20) +EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer015_BeginAuthSession(winISteamGameServer_SteamGameServer015 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_EndAuthSession, 12) +void __thiscall winISteamGameServer_SteamGameServer015_EndAuthSession(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamID) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_EndAuthSession(_this->linux_side, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CancelAuthTicket, 8) +void __thiscall winISteamGameServer_SteamGameServer015_CancelAuthTicket(winISteamGameServer_SteamGameServer015 *_this, HAuthTicket hAuthTicket) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_CancelAuthTicket(_this->linux_side, hAuthTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp, 16) +EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer015_UserHasLicenseForApp(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamID, AppId_t appID) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(_this->linux_side, steamID, appID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus, 20) +bool __thiscall winISteamGameServer_SteamGameServer015_RequestUserGroupStatus(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetGameplayStats, 4) +void __thiscall winISteamGameServer_SteamGameServer015_GetGameplayStats(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_GetGameplayStats(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetServerReputation, 4) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_GetServerReputation(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_GetServerReputation(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetPublicIP, 8) +SteamIPAddress_t *__thiscall winISteamGameServer_SteamGameServer015_GetPublicIP(winISteamGameServer_SteamGameServer015 *_this, SteamIPAddress_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer015_GetPublicIP(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_HandleIncomingPacket, 20) +bool __thiscall winISteamGameServer_SteamGameServer015_HandleIncomingPacket(winISteamGameServer_SteamGameServer015 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, 20) +int __thiscall winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer015 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_AssociateWithClan, 12) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_AssociateWithClan(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDClan) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_AssociateWithClan(_this->linux_side, steamIDClan); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, 12) +SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDNewPlayer) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, 20) +bool __thiscall winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, 8) +CSteamID *__thiscall winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer015 *_this, CSteamID *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, 12) +void __thiscall winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(_this->linux_side, steamIDUser); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BUpdateUserData, 20) +bool __thiscall winISteamGameServer_SteamGameServer015_BUpdateUserData(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +{ + TRACE("%p\n", _this); + return cppISteamGameServer_SteamGameServer015_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, 8) +void __thiscall winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, int iHeartbeatInterval) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(_this->linux_side, iHeartbeatInterval); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, 4) +void __thiscall winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this) +{ + TRACE("%p\n", _this); + cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(_this->linux_side); +} + +extern vtable_ptr winISteamGameServer_SteamGameServer015_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamGameServer_SteamGameServer015, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED) + ); +#ifndef __GNUC__ +} +#endif + +winISteamGameServer_SteamGameServer015 *create_winISteamGameServer_SteamGameServer015(void *linux_side) +{ + winISteamGameServer_SteamGameServer015 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer015), "SteamGameServer015"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer015_vtable, 44, "SteamGameServer015"); + r->linux_side = linux_side; + return r; +} + #include "cppISteamGameServer_SteamGameServer014.h" typedef struct __winISteamGameServer_SteamGameServer014 { diff --git a/lsteamclient/winISteamNetworkingFakeUDPPort.c b/lsteamclient/winISteamNetworkingFakeUDPPort.c index 8d5fa10b..3fab0a15 100644 --- a/lsteamclient/winISteamNetworkingFakeUDPPort.c +++ b/lsteamclient/winISteamNetworkingFakeUDPPort.c @@ -37,7 +37,7 @@ EResult __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ } DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages, 12) -int __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this, winSteamNetworkingMessage_t_155 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this, winSteamNetworkingMessage_t_156 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(_this->linux_side, ppOutMessages, nMaxMessages); diff --git a/lsteamclient/winISteamNetworkingMessages.c b/lsteamclient/winISteamNetworkingMessages.c index 67caa3d7..d8cfe363 100644 --- a/lsteamclient/winISteamNetworkingMessages.c +++ b/lsteamclient/winISteamNetworkingMessages.c @@ -30,7 +30,7 @@ EResult __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_SendMe } DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, 16) -int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, int nLocalChannel, winSteamNetworkingMessage_t_155 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, int nLocalChannel, winSteamNetworkingMessage_t_156 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(_this->linux_side, nLocalChannel, ppOutMessages, nMaxMessages); diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index 87601780..0e2faa5b 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -107,7 +107,7 @@ EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMess } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nMessages, winSteamNetworkingMessage_t_155 *const * pMessages, int64 * pOutMessageNumberOrResult) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nMessages, winSteamNetworkingMessage_t_156 *const * pMessages, int64 * pOutMessageNumberOrResult) { TRACE("%p\n", _this); cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); @@ -121,7 +121,7 @@ EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMes } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_155 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_156 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); @@ -212,7 +212,7 @@ bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnecti } DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_155 ** ppOutMessages, int nMaxMessages) +int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_156 ** ppOutMessages, int nMaxMessages) { TRACE("%p\n", _this); return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(_this->linux_side, hPollGroup, ppOutMessages, nMaxMessages); diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index a0bf7b71..a81a6823 100644 --- a/lsteamclient/winISteamParties.c +++ b/lsteamclient/winISteamParties.c @@ -37,7 +37,7 @@ PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(win } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_155 * pLocation, char * pchMetadata, int cchMetadata) +bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_156 * pLocation, char * pchMetadata, int cchMetadata) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetBeaconDetails(_this->linux_side, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata); @@ -58,14 +58,14 @@ bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations( } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12) -bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_155 * pLocationList, uint32 uMaxNumLocations) +bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_156 * pLocationList, uint32 uMaxNumLocations) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->linux_side, pLocationList, uMaxNumLocations); } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20) -SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_155 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_156 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_CreateBeacon(_this->linux_side, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata); @@ -100,7 +100,7 @@ bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(winISteamParties_ } DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_155 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_156 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) { TRACE("%p\n", _this); return cppISteamParties_SteamParties002_GetBeaconLocationData(_this->linux_side, BeaconLocation, eData, pchDataStringOut, cchDataStringOut); diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index 180bb5c2..7307367d 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -15,6 +15,761 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h" + +typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION017 { + vtable_ptr *vtable; + void *linux_side; +} winISteamUGC_STEAMUGC_INTERFACE_VERSION017; + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, 32) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, 24) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, 24) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, 12) +UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_156 * pDetails) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, 16) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, 24) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, 16) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, 40) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +{ + bool path_result; + TRACE("%p\n", _this); + path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); + steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, 16) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, 36) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, 24) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(_this->linux_side, handle, index, pvecDescriptors, cMaxEntries); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pTagName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(_this->linux_side, handle, pTagName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(_this->linux_side, handle, pTagGroups); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pTagName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(_this->linux_side, handle, pTagName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(_this->linux_side, handle, bReturnChildren); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unDays) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(_this->linux_side, handle, pchLanguage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pSearchText) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(_this->linux_side, handle, pSearchText); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unDays) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(_this->linux_side, handle, unDays); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(_this->linux_side, handle, rtStart, rtEnd); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(_this->linux_side, handle, rtStart, rtEnd); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(_this->linux_side, nConsumerAppId, eFileType); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, 16) +UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(_this->linux_side, handle, pchTitle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(_this->linux_side, handle, pchDescription); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(_this->linux_side, handle, pchMetaData); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(_this->linux_side, handle, eVisibility); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(_this->linux_side, updateHandle, pTags); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +{ + char lin_pszContentFolder[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(_this->linux_side, handle); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchKey) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +{ + char lin_pszPreviewFile[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(_this->linux_side, handle, index); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(_this->linux_side, handle, descid); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(_this->linux_side, handle, descid); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, 20) +EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, 4) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, 12) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, 12) +uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, 28) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +{ + bool path_result; + TRACE("%p\n", _this); + path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); + steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, 20) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, 16) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, 12) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +{ + char lin_pszFolder[PATH_MAX]; + steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, 8) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, 4) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, 20) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, 20) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, 16) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, 12) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(_this->linux_side, nPublishedFileID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, 4) +bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, 4) +SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(_this->linux_side); +} + +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus) + ); +#ifndef __GNUC__ +} +#endif + +winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *linux_side) +{ + winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION017), "STEAMUGC_INTERFACE_VERSION017"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable, 89, "STEAMUGC_INTERFACE_VERSION017"); + r->linux_side = linux_side; + return r; +} + #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h" typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION016 { diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index 299d4364..fc364fa4 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -15,6 +15,293 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +#include "cppISteamUser_SteamUser022.h" + +typedef struct __winISteamUser_SteamUser022 { + vtable_ptr *vtable; + void *linux_side; +} winISteamUser_SteamUser022; + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetHSteamUser, 4) +HSteamUser __thiscall winISteamUser_SteamUser022_GetHSteamUser(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetHSteamUser(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BLoggedOn, 4) +bool __thiscall winISteamUser_SteamUser022_BLoggedOn(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BLoggedOn(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetSteamID, 8) +CSteamID *__thiscall winISteamUser_SteamUser022_GetSteamID(winISteamUser_SteamUser022 *_this, CSteamID *_r) +{ + TRACE("%p\n", _this); + *_r = cppISteamUser_SteamUser022_GetSteamID(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, 32) +int __thiscall winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(winISteamUser_SteamUser022 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, 12) +void __thiscall winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(winISteamUser_SteamUser022 *_this, uint32 unIPServer, uint16 usPortServer) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(_this->linux_side, unIPServer, usPortServer); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TrackAppUsageEvent, 20) +void __thiscall winISteamUser_SteamUser022_TrackAppUsageEvent(winISteamUser_SteamUser022 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetUserDataFolder, 12) +bool __thiscall winISteamUser_SteamUser022_GetUserDataFolder(winISteamUser_SteamUser022 *_this, char * pchBuffer, int cubBuffer) +{ + bool path_result; + TRACE("%p\n", _this); + path_result = cppISteamUser_SteamUser022_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); + steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); + return path_result; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StartVoiceRecording, 4) +void __thiscall winISteamUser_SteamUser022_StartVoiceRecording(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_StartVoiceRecording(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StopVoiceRecording, 4) +void __thiscall winISteamUser_SteamUser022_StopVoiceRecording(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_StopVoiceRecording(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAvailableVoice, 16) +EVoiceResult __thiscall winISteamUser_SteamUser022_GetAvailableVoice(winISteamUser_SteamUser022 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoice, 40) +EVoiceResult __thiscall winISteamUser_SteamUser022_GetVoice(winISteamUser_SteamUser022 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_DecompressVoice, 28) +EVoiceResult __thiscall winISteamUser_SteamUser022_DecompressVoice(winISteamUser_SteamUser022 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate, 4) +uint32 __thiscall winISteamUser_SteamUser022_GetVoiceOptimalSampleRate(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAuthSessionTicket, 20) +HAuthTicket __thiscall winISteamUser_SteamUser022_GetAuthSessionTicket(winISteamUser_SteamUser022 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket, pSteamNetworkingIdentity); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BeginAuthSession, 20) +EBeginAuthSessionResult __thiscall winISteamUser_SteamUser022_BeginAuthSession(winISteamUser_SteamUser022 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_EndAuthSession, 12) +void __thiscall winISteamUser_SteamUser022_EndAuthSession(winISteamUser_SteamUser022 *_this, CSteamID steamID) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_EndAuthSession(_this->linux_side, steamID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_CancelAuthTicket, 8) +void __thiscall winISteamUser_SteamUser022_CancelAuthTicket(winISteamUser_SteamUser022 *_this, HAuthTicket hAuthTicket) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_CancelAuthTicket(_this->linux_side, hAuthTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_UserHasLicenseForApp, 16) +EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser022_UserHasLicenseForApp(winISteamUser_SteamUser022 *_this, CSteamID steamID, AppId_t appID) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_UserHasLicenseForApp(_this->linux_side, steamID, appID); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsBehindNAT, 4) +bool __thiscall winISteamUser_SteamUser022_BIsBehindNAT(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BIsBehindNAT(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_AdvertiseGame, 20) +void __thiscall winISteamUser_SteamUser022_AdvertiseGame(winISteamUser_SteamUser022 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +{ + TRACE("%p\n", _this); + cppISteamUser_SteamUser022_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestEncryptedAppTicket, 12) +SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestEncryptedAppTicket(winISteamUser_SteamUser022 *_this, void * pDataToInclude, int cbDataToInclude) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetEncryptedAppTicket, 16) +bool __thiscall winISteamUser_SteamUser022_GetEncryptedAppTicket(winISteamUser_SteamUser022 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetGameBadgeLevel, 12) +int __thiscall winISteamUser_SteamUser022_GetGameBadgeLevel(winISteamUser_SteamUser022 *_this, int nSeries, bool bFoil) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetPlayerSteamLevel, 4) +int __thiscall winISteamUser_SteamUser022_GetPlayerSteamLevel(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetPlayerSteamLevel(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestStoreAuthURL, 8) +SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestStoreAuthURL(winISteamUser_SteamUser022 *_this, const char * pchRedirectURL) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneVerified, 4) +bool __thiscall winISteamUser_SteamUser022_BIsPhoneVerified(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BIsPhoneVerified(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsTwoFactorEnabled, 4) +bool __thiscall winISteamUser_SteamUser022_BIsTwoFactorEnabled(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BIsTwoFactorEnabled(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneIdentifying, 4) +bool __thiscall winISteamUser_SteamUser022_BIsPhoneIdentifying(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BIsPhoneIdentifying(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneRequiringVerification, 4) +bool __thiscall winISteamUser_SteamUser022_BIsPhoneRequiringVerification(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetMarketEligibility, 4) +SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetMarketEligibility(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetMarketEligibility(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetDurationControl, 4) +SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetDurationControl(winISteamUser_SteamUser022 *_this) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_GetDurationControl(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BSetDurationControlOnlineState, 8) +bool __thiscall winISteamUser_SteamUser022_BSetDurationControlOnlineState(winISteamUser_SteamUser022 *_this, EDurationControlOnlineState eNewState) +{ + TRACE("%p\n", _this); + return cppISteamUser_SteamUser022_BSetDurationControlOnlineState(_this->linux_side, eNewState); +} + +extern vtable_ptr winISteamUser_SteamUser022_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamUser_SteamUser022, + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneRequiringVerification) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetDurationControl) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BSetDurationControlOnlineState) + ); +#ifndef __GNUC__ +} +#endif + +winISteamUser_SteamUser022 *create_winISteamUser_SteamUser022(void *linux_side) +{ + winISteamUser_SteamUser022 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser022), "SteamUser022"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser022_vtable, 32, "SteamUser022"); + r->linux_side = linux_side; + return r; +} + #include "cppISteamUser_SteamUser021.h" typedef struct __winISteamUser_SteamUser021 { diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index 58159dbb..98426cdd 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -233,7 +233,7 @@ SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 } DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_155 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_156 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) { TRACE("%p\n", _this); return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); diff --git a/lsteamclient/win_constructors.h b/lsteamclient/win_constructors.h index 970e7ea5..1fa929a1 100644 --- a/lsteamclient/win_constructors.h +++ b/lsteamclient/win_constructors.h @@ -1,5 +1,5 @@ extern void *create_winISteamClient_SteamClient020(void *); -extern void *create_winISteamUser_SteamUser021(void *); +extern void *create_winISteamUser_SteamUser022(void *); extern void *create_winISteamFriends_SteamFriends017(void *); extern void *create_winISteamUtils_SteamUtils010(void *); extern void *create_winISteamMatchmaking_SteamMatchMaking009(void *); @@ -16,7 +16,7 @@ extern void *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(v extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *); extern void *create_winISteamInput_SteamInput006(void *); extern void *create_winISteamController_SteamController008(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *); +extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *); extern void *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *); extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *); extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *); @@ -27,10 +27,13 @@ extern void *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *); extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *); extern void *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer014(void *); +extern void *create_winISteamGameServer_SteamGameServer015(void *); extern void *create_winISteamGameServerStats_SteamGameServerStats001(void *); extern void *create_winISteamGameCoordinator_SteamGameCoordinator001(void *); extern void *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *); +extern void *create_winISteamUser_SteamUser021(void *); +extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *); +extern void *create_winISteamGameServer_SteamGameServer014(void *); extern void *create_winISteamInput_SteamInput005(void *); extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *); extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *); diff --git a/lsteamclient/win_constructors_table.dat b/lsteamclient/win_constructors_table.dat index c906528b..dca17c14 100644 --- a/lsteamclient/win_constructors_table.dat +++ b/lsteamclient/win_constructors_table.dat @@ -1,5 +1,5 @@ {"SteamClient020", &create_winISteamClient_SteamClient020}, - {"SteamUser021", &create_winISteamUser_SteamUser021}, + {"SteamUser022", &create_winISteamUser_SteamUser022}, {"SteamFriends017", &create_winISteamFriends_SteamFriends017}, {"SteamUtils010", &create_winISteamUtils_SteamUtils010}, {"SteamMatchMaking009", &create_winISteamMatchmaking_SteamMatchMaking009}, @@ -16,7 +16,7 @@ {"STEAMHTTP_INTERFACE_VERSION003", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003}, {"SteamInput006", &create_winISteamInput_SteamInput006}, {"SteamController008", &create_winISteamController_SteamController008}, - {"STEAMUGC_INTERFACE_VERSION016", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016}, + {"STEAMUGC_INTERFACE_VERSION017", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017}, {"STEAMAPPLIST_INTERFACE_VERSION001", &create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001}, {"STEAMHTMLSURFACE_INTERFACE_VERSION_005", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005}, {"STEAMINVENTORY_INTERFACE_V003", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003}, @@ -27,10 +27,13 @@ {"SteamNetworkingSockets012", &create_winISteamNetworkingSockets_SteamNetworkingSockets012}, {"SteamNetworkingUtils004", &create_winISteamNetworkingUtils_SteamNetworkingUtils004}, {"STEAMAPPTICKET_INTERFACE_VERSION001", &create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001}, - {"SteamGameServer014", &create_winISteamGameServer_SteamGameServer014}, + {"SteamGameServer015", &create_winISteamGameServer_SteamGameServer015}, {"SteamGameServerStats001", &create_winISteamGameServerStats_SteamGameServerStats001}, {"SteamGameCoordinator001", &create_winISteamGameCoordinator_SteamGameCoordinator001}, {"SteamNetworkingFakeUDPPort001", &create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001}, + {"SteamUser021", &create_winISteamUser_SteamUser021}, + {"STEAMUGC_INTERFACE_VERSION016", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016}, + {"SteamGameServer014", &create_winISteamGameServer_SteamGameServer014}, {"SteamInput005", &create_winISteamInput_SteamInput005}, {"STEAMUGC_INTERFACE_VERSION015", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015}, {"SteamNetworkingSockets009", &create_winISteamNetworkingSockets_SteamNetworkingSockets009},