mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-25 14:15:45 +03:00
lsteamclient: Add steamworks sdk 1.44 support
This commit is contained in:
parent
dfdd3d0d78
commit
528d5d26cf
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h"
|
||||
uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_143/isteamappticket.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamworks_sdk_144/isteamappticket.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#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)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h"
|
||||
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamClient_SteamClient018.h"
|
||||
HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamController_SteamController007.h"
|
||||
bool cppISteamController_SteamController007_Init(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamFriends_SteamFriends017.h"
|
||||
const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *linux_side)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_143/isteamgamecoordinator.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamworks_sdk_144/isteamgamecoordinator.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamGameCoordinator_SteamGameCoordinator001.h"
|
||||
EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_143/isteamgameserverstats.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamworks_sdk_144/isteamgameserverstats.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamGameServerStats_SteamGameServerStats001.h"
|
||||
SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_143/isteamgameserver.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamworks_sdk_144/isteamgameserver.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamGameServer_SteamGameServer012.h"
|
||||
bool cppISteamGameServer_SteamGameServer012_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h"
|
||||
bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h"
|
||||
HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamInput_SteamInput001.h"
|
||||
bool cppISteamInput_SteamInput001_Init(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h"
|
||||
EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#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)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamMatchmaking_SteamMatchMaking009.h"
|
||||
int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h"
|
||||
bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char * pchName)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h"
|
||||
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_next/steam_api.h"
|
||||
#include "steamworks_sdk_next/isteamnetworkingsocketsserialized.h"
|
||||
#include "steamworks_sdk_143x/steam_api.h"
|
||||
#include "steamworks_sdk_143x/isteamnetworkingsocketsserialized.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_next
|
||||
#define SDKVER_143x
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h"
|
||||
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_next2/steam_api.h"
|
||||
#include "steamworks_sdk_next2/isteamnetworkingsocketsserialized.h"
|
||||
#include "steamworks_sdk_143y/steam_api.h"
|
||||
#include "steamworks_sdk_143y/isteamnetworkingsocketsserialized.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_next2
|
||||
#define SDKVER_143y
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h"
|
||||
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamNetworking_SteamNetworking005.h"
|
||||
bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel)
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_143/isteamparentalsettings.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamworks_sdk_144/isteamparentalsettings.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h"
|
||||
bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamParties_SteamParties002.h"
|
||||
uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side)
|
||||
@ -17,12 +17,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_143 * pLocation, char * pchMetadata, int cchMetadata)
|
||||
bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_144 * pLocation, char * pchMetadata, int cchMetadata)
|
||||
{
|
||||
SteamPartyBeaconLocation_t lin_pLocation;
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_143(pLocation, &lin_pLocation);
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_144(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_143(&lin_pLocation, pLocation);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pLocation, pLocation);
|
||||
return retval;
|
||||
}
|
||||
|
||||
@ -36,21 +36,21 @@ bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux
|
||||
return ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations);
|
||||
}
|
||||
|
||||
bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_143 * pLocationList, uint32 uMaxNumLocations)
|
||||
bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_144 * pLocationList, uint32 uMaxNumLocations)
|
||||
{
|
||||
SteamPartyBeaconLocation_t lin_pLocationList;
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_143(pLocationList, &lin_pLocationList);
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_144(pLocationList, &lin_pLocationList);
|
||||
bool retval = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_143(&lin_pLocationList, pLocationList);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pLocationList, pLocationList);
|
||||
return retval;
|
||||
}
|
||||
|
||||
SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_143 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata)
|
||||
SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_144 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata)
|
||||
{
|
||||
SteamPartyBeaconLocation_t lin_pBeaconLocation;
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_143(pBeaconLocation, &lin_pBeaconLocation);
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_144(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_143(&lin_pBeaconLocation, pBeaconLocation);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_pBeaconLocation, pBeaconLocation);
|
||||
return retval;
|
||||
}
|
||||
|
||||
@ -74,12 +74,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_143 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut)
|
||||
bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_144 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut)
|
||||
{
|
||||
SteamPartyBeaconLocation_t lin_BeaconLocation;
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_143(&BeaconLocation, &lin_BeaconLocation);
|
||||
win_to_lin_struct_SteamPartyBeaconLocation_t_144(&BeaconLocation, &lin_BeaconLocation);
|
||||
bool retval = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_143(&lin_BeaconLocation, &BeaconLocation);
|
||||
lin_to_win_struct_SteamPartyBeaconLocation_t_144(&lin_BeaconLocation, &BeaconLocation);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -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_143 *, char *, int);
|
||||
extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_144 *, 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_143 *, uint32);
|
||||
extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_143 *, const char *, const char *);
|
||||
extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_144 *, uint32);
|
||||
extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_144 *, const char *, const char *);
|
||||
extern 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_143, ESteamPartyBeaconLocationData, char *, int);
|
||||
extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_144, ESteamPartyBeaconLocationData, char *, int);
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h"
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#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)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h"
|
||||
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
||||
@ -32,12 +32,12 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(vo
|
||||
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_143 * pDetails)
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 * pDetails)
|
||||
{
|
||||
SteamUGCDetails_t lin_pDetails;
|
||||
win_to_lin_struct_SteamUGCDetails_t_143(pDetails, &lin_pDetails);
|
||||
win_to_lin_struct_SteamUGCDetails_t_144(pDetails, &lin_pDetails);
|
||||
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_143(&lin_pDetails, pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_144(&lin_pDetails, pDetails);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAl
|
||||
extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *);
|
||||
extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32);
|
||||
extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(void *, UGCQueryHandle_t);
|
||||
extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_143 *);
|
||||
extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_144 *);
|
||||
extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32);
|
||||
extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32);
|
||||
extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32);
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h"
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side)
|
||||
@ -157,12 +157,12 @@ SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLe
|
||||
return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers);
|
||||
}
|
||||
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_143 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax)
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_144 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax)
|
||||
{
|
||||
LeaderboardEntry_t lin_pLeaderboardEntry;
|
||||
win_to_lin_struct_LeaderboardEntry_t_143(pLeaderboardEntry, &lin_pLeaderboardEntry);
|
||||
win_to_lin_struct_LeaderboardEntry_t_144(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_143(&lin_pLeaderboardEntry, pLeaderboardEntry);
|
||||
lin_to_win_struct_LeaderboardEntry_t_144(&lin_pLeaderboardEntry, pLeaderboardEntry);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSIO
|
||||
extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(void *, SteamLeaderboard_t);
|
||||
extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int);
|
||||
extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int);
|
||||
extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_143 *, int32 *, int);
|
||||
extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_144 *, int32 *, int);
|
||||
extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int);
|
||||
extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t);
|
||||
extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(void *);
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUser_SteamUser020.h"
|
||||
HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUtils_SteamUtils009.h"
|
||||
uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *linux_side)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_143/steam_api.h"
|
||||
#include "steamworks_sdk_144/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_143
|
||||
#define SDKVER_144
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
|
||||
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID)
|
||||
|
@ -5,6 +5,8 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
CLANG_PATH='/usr/lib/clang/8.0.0'
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
import clang.cindex
|
||||
@ -13,6 +15,9 @@ import re
|
||||
import math
|
||||
|
||||
sdk_versions = [
|
||||
"144",
|
||||
"143y",
|
||||
"143x",
|
||||
"143",
|
||||
"142",
|
||||
"141",
|
||||
@ -80,8 +85,6 @@ sdk_versions = [
|
||||
"099w",
|
||||
"099v",
|
||||
"099u",
|
||||
"next2",
|
||||
"next",
|
||||
]
|
||||
|
||||
files = [
|
||||
@ -868,14 +871,14 @@ for sdkver in sdk_versions:
|
||||
if not os.path.isfile(input_name):
|
||||
continue
|
||||
index = clang.cindex.Index.create()
|
||||
linux_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I/usr/lib/clang/7.0.1/include/'])
|
||||
linux_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I' + CLANG_PATH + '/include/'])
|
||||
|
||||
diagnostics = list(linux_build.diagnostics)
|
||||
if len(diagnostics) > 0:
|
||||
print('There were parse errors')
|
||||
pprint.pprint(diagnostics)
|
||||
else:
|
||||
windows_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I/usr/lib/clang/7.0.1/include/', '-mms-bitfields', '-U__linux__', '-Wno-incompatible-ms-struct'])
|
||||
windows_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I' + CLANG_PATH + '/include/', '-mms-bitfields', '-U__linux__', '-Wno-incompatible-ms-struct'])
|
||||
diagnostics = list(windows_build.diagnostics)
|
||||
if len(diagnostics) > 0:
|
||||
print('There were parse errors (windows build)')
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user