Proton/lsteamclient/cppISteamFriends_SteamFriends008.cpp

187 lines
8.8 KiB
C++
Raw Normal View History

2018-01-18 19:24:05 +03:00
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
2018-01-18 19:24:05 +03:00
#include "steamworks_sdk_112/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
2018-01-18 19:24:05 +03:00
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_112
#include "struct_converters.h"
#include "cppISteamFriends_SteamFriends008.h"
void cppISteamFriends_SteamFriends008_GetPersonaName( struct cppISteamFriends_SteamFriends008_GetPersonaName_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_SetPersonaName( struct cppISteamFriends_SteamFriends008_SetPersonaName_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetPersonaState( struct cppISteamFriends_SteamFriends008_GetPersonaState_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendCount( struct cppISteamFriends_SteamFriends008_GetFriendCount_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendByIndex( struct cppISteamFriends_SteamFriends008_GetFriendByIndex_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendRelationship( struct cppISteamFriends_SteamFriends008_GetFriendRelationship_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendPersonaState( struct cppISteamFriends_SteamFriends008_GetFriendPersonaState_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendPersonaName( struct cppISteamFriends_SteamFriends008_GetFriendPersonaName_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends008_GetFriendGamePlayed_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_HasFriend( struct cppISteamFriends_SteamFriends008_HasFriend_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanCount( struct cppISteamFriends_SteamFriends008_GetClanCount_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanByIndex( struct cppISteamFriends_SteamFriends008_GetClanByIndex_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanName( struct cppISteamFriends_SteamFriends008_GetClanName_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanTag( struct cppISteamFriends_SteamFriends008_GetClanTag_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends008_GetFriendCountFromSource_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_IsUserInSource( struct cppISteamFriends_SteamFriends008_IsUserInSource_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_ActivateGameOverlay( struct cppISteamFriends_SteamFriends008_ActivateGameOverlay_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_SetPlayedWith( struct cppISteamFriends_SteamFriends008_SetPlayedWith_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends008_GetSmallFriendAvatar_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends008_GetMediumFriendAvatar_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends008_GetLargeFriendAvatar_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_RequestUserInformation( struct cppISteamFriends_SteamFriends008_RequestUserInformation_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_RequestClanOfficerList( struct cppISteamFriends_SteamFriends008_RequestClanOfficerList_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanOwner( struct cppISteamFriends_SteamFriends008_GetClanOwner_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanOfficerCount( struct cppISteamFriends_SteamFriends008_GetClanOfficerCount_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends008_GetClanOfficerByIndex_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer );
2018-01-18 19:24:05 +03:00
}
void cppISteamFriends_SteamFriends008_GetUserRestrictions( struct cppISteamFriends_SteamFriends008_GetUserRestrictions_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif