Proton/lsteamclient/cppISteamFriends_SteamFriends008.cpp

262 lines
13 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"
struct cppISteamFriends_SteamFriends008
{
#ifdef __cplusplus
virtual const char * GetPersonaName( ) = 0;
virtual void SetPersonaName( const char * ) = 0;
virtual uint32_t GetPersonaState( ) = 0;
virtual int32_t GetFriendCount( int32_t ) = 0;
virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0;
virtual uint32_t GetFriendRelationship( CSteamID ) = 0;
virtual uint32_t GetFriendPersonaState( CSteamID ) = 0;
virtual const char * GetFriendPersonaName( CSteamID ) = 0;
virtual bool GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0;
virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0;
virtual bool HasFriend( CSteamID, int32_t ) = 0;
virtual int32_t GetClanCount( ) = 0;
virtual CSteamID GetClanByIndex( int32_t ) = 0;
virtual const char * GetClanName( CSteamID ) = 0;
virtual const char * GetClanTag( CSteamID ) = 0;
virtual int32_t GetFriendCountFromSource( CSteamID ) = 0;
virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0;
virtual bool IsUserInSource( CSteamID, CSteamID ) = 0;
virtual void SetInGameVoiceSpeaking( CSteamID, bool ) = 0;
virtual void ActivateGameOverlay( const char * ) = 0;
virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0;
virtual void ActivateGameOverlayToWebPage( const char * ) = 0;
virtual void ActivateGameOverlayToStore( uint32_t ) = 0;
virtual void SetPlayedWith( CSteamID ) = 0;
virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0;
virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0;
virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0;
virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0;
virtual bool RequestUserInformation( CSteamID, bool ) = 0;
virtual uint64_t RequestClanOfficerList( CSteamID ) = 0;
virtual CSteamID GetClanOwner( CSteamID ) = 0;
virtual int32_t GetClanOfficerCount( CSteamID ) = 0;
virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0;
virtual uint32_t GetUserRestrictions( ) = 0;
#endif /* __cplusplus */
};
void cppISteamFriends_SteamFriends008_GetPersonaName( struct cppISteamFriends_SteamFriends008_GetPersonaName_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->SetPersonaName( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendCount( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
*params->_ret = iface->GetFriendByIndex( params->iFriend, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendRelationship( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendPersonaState( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendPersonaName( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->HasFriend( params->steamIDFriend, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
*params->_ret = iface->GetClanByIndex( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetClanName( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetClanTag( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetFriendCountFromSource( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
*params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->IsUserInSource( params->steamIDUser, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->SetInGameVoiceSpeaking( params->steamIDUser, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlay( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayToUser( params->pchDialog, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayToStore( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->SetPlayedWith( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayInviteDialog( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetSmallFriendAvatar( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetMediumFriendAvatar( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetLargeFriendAvatar( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->RequestUserInformation( params->steamIDUser, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->RequestClanOfficerList( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
*params->_ret = iface->GetClanOwner( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetClanOfficerCount( 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
*params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, 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
{
struct cppISteamFriends_SteamFriends008 *iface = (struct cppISteamFriends_SteamFriends008 *)params->linux_side;
params->_ret = iface->GetUserRestrictions( );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif