2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 14:45:23 +00:00

lsteamclient: Use the new structures in thunks.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-30 14:02:30 +02:00
committed by Arkadiusz Hiler
parent 9b1a3cb349
commit 9ea65fe0d0
514 changed files with 10161 additions and 10868 deletions

View File

@@ -1,18 +1,8 @@
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
#include "steamworks_sdk_111/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_111
#include "struct_converters.h"
/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#include "cppISteamFriends_SteamFriends007.h"
struct cppISteamFriends_SteamFriends007
struct u_ISteamFriends_SteamFriends007
{
#ifdef __cplusplus
virtual const char * GetPersonaName( ) = 0;
@@ -48,172 +38,169 @@ struct cppISteamFriends_SteamFriends007
void cppISteamFriends_SteamFriends007_GetPersonaName( struct cppISteamFriends_SteamFriends007_GetPersonaName_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetPersonaName( );
}
void cppISteamFriends_SteamFriends007_SetPersonaName( struct cppISteamFriends_SteamFriends007_SetPersonaName_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->SetPersonaName( params->pchPersonaName );
}
void cppISteamFriends_SteamFriends007_GetPersonaState( struct cppISteamFriends_SteamFriends007_GetPersonaState_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetPersonaState( );
}
void cppISteamFriends_SteamFriends007_GetFriendCount( struct cppISteamFriends_SteamFriends007_GetFriendCount_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendCount( params->iFriendFlags );
}
void cppISteamFriends_SteamFriends007_GetFriendByIndex( struct cppISteamFriends_SteamFriends007_GetFriendByIndex_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
*params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags );
}
void cppISteamFriends_SteamFriends007_GetFriendRelationship( struct cppISteamFriends_SteamFriends007_GetFriendRelationship_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendRelationship( params->steamIDFriend );
}
void cppISteamFriends_SteamFriends007_GetFriendPersonaState( struct cppISteamFriends_SteamFriends007_GetFriendPersonaState_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendPersonaState( params->steamIDFriend );
}
void cppISteamFriends_SteamFriends007_GetFriendPersonaName( struct cppISteamFriends_SteamFriends007_GetFriendPersonaName_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendPersonaName( params->steamIDFriend );
}
void cppISteamFriends_SteamFriends007_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends007_GetFriendGamePlayed_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo );
}
void cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName );
}
void cppISteamFriends_SteamFriends007_HasFriend( struct cppISteamFriends_SteamFriends007_HasFriend_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags );
}
void cppISteamFriends_SteamFriends007_GetClanCount( struct cppISteamFriends_SteamFriends007_GetClanCount_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetClanCount( );
}
void cppISteamFriends_SteamFriends007_GetClanByIndex( struct cppISteamFriends_SteamFriends007_GetClanByIndex_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
*params->_ret = iface->GetClanByIndex( params->iClan );
}
void cppISteamFriends_SteamFriends007_GetClanName( struct cppISteamFriends_SteamFriends007_GetClanName_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetClanName( params->steamIDClan );
}
void cppISteamFriends_SteamFriends007_GetClanTag( struct cppISteamFriends_SteamFriends007_GetClanTag_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetClanTag( params->steamIDClan );
}
void cppISteamFriends_SteamFriends007_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends007_GetFriendCountFromSource_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetFriendCountFromSource( params->steamIDSource );
}
void cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
*params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend );
}
void cppISteamFriends_SteamFriends007_IsUserInSource( struct cppISteamFriends_SteamFriends007_IsUserInSource_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource );
}
void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking );
}
void cppISteamFriends_SteamFriends007_ActivateGameOverlay( struct cppISteamFriends_SteamFriends007_ActivateGameOverlay_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlay( params->pchDialog );
}
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID );
}
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
}
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayToStore( params->nAppID );
}
void cppISteamFriends_SteamFriends007_SetPlayedWith( struct cppISteamFriends_SteamFriends007_SetPlayedWith_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->SetPlayedWith( params->steamIDUserPlayedWith );
}
void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayInviteDialog( params->steamIDLobby );
}
void cppISteamFriends_SteamFriends007_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends007_GetSmallFriendAvatar_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend );
}
void cppISteamFriends_SteamFriends007_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends007_GetMediumFriendAvatar_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend );
}
void cppISteamFriends_SteamFriends007_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends007_GetLargeFriendAvatar_params *params )
{
struct cppISteamFriends_SteamFriends007 *iface = (struct cppISteamFriends_SteamFriends007 *)params->linux_side;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend );
}
#ifdef __cplusplus
}
#endif