2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2018-01-18 19:24:05 +03:00
|
|
|
#include "steamworks_sdk_119/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_119
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamFriends_SteamFriends011.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamFriends_SteamFriends011
|
|
|
|
{
|
|
|
|
#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 bool GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0;
|
|
|
|
virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 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;
|
|
|
|
virtual bool SetRichPresence( const char *, const char * ) = 0;
|
|
|
|
virtual void ClearRichPresence( ) = 0;
|
|
|
|
virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0;
|
|
|
|
virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0;
|
|
|
|
virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0;
|
|
|
|
virtual void RequestFriendRichPresence( CSteamID ) = 0;
|
|
|
|
virtual bool InviteUserToGame( CSteamID, const char * ) = 0;
|
|
|
|
virtual int32_t GetCoplayFriendCount( ) = 0;
|
|
|
|
virtual CSteamID GetCoplayFriend( int32_t ) = 0;
|
|
|
|
virtual int32_t GetFriendCoplayTime( CSteamID ) = 0;
|
|
|
|
virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0;
|
|
|
|
virtual uint64_t JoinClanChatRoom( CSteamID ) = 0;
|
|
|
|
virtual bool LeaveClanChatRoom( CSteamID ) = 0;
|
|
|
|
virtual int32_t GetClanChatMemberCount( CSteamID ) = 0;
|
|
|
|
virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0;
|
|
|
|
virtual bool SendClanChatMessage( CSteamID, const char * ) = 0;
|
|
|
|
virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0;
|
|
|
|
virtual bool IsClanChatAdmin( CSteamID, CSteamID ) = 0;
|
|
|
|
virtual bool IsClanChatWindowOpenInSteam( CSteamID ) = 0;
|
|
|
|
virtual bool OpenClanChatWindowInSteam( CSteamID ) = 0;
|
|
|
|
virtual bool CloseClanChatWindowInSteam( CSteamID ) = 0;
|
|
|
|
virtual bool SetListenForFriendsMessages( bool ) = 0;
|
|
|
|
virtual bool ReplyToFriendMessage( CSteamID, const char * ) = 0;
|
|
|
|
virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0;
|
|
|
|
virtual uint64_t GetFollowerCount( CSteamID ) = 0;
|
|
|
|
virtual uint64_t IsFollowing( CSteamID ) = 0;
|
|
|
|
virtual uint64_t EnumerateFollowingList( uint32_t ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetPersonaName( struct cppISteamFriends_SteamFriends011_GetPersonaName_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetPersonaName( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SetPersonaName( struct cppISteamFriends_SteamFriends011_SetPersonaName_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->SetPersonaName( params->pchPersonaName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetPersonaState( struct cppISteamFriends_SteamFriends011_GetPersonaState_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetPersonaState( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendCount( struct cppISteamFriends_SteamFriends011_GetFriendCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendCount( params->iFriendFlags );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendByIndex( struct cppISteamFriends_SteamFriends011_GetFriendByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendRelationship( struct cppISteamFriends_SteamFriends011_GetFriendRelationship_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendRelationship( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendPersonaState( struct cppISteamFriends_SteamFriends011_GetFriendPersonaState_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendPersonaState( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendPersonaName( struct cppISteamFriends_SteamFriends011_GetFriendPersonaName_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendPersonaName( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends011_GetFriendGamePlayed_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_HasFriend( struct cppISteamFriends_SteamFriends011_HasFriend_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanCount( struct cppISteamFriends_SteamFriends011_GetClanCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanCount( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanByIndex( struct cppISteamFriends_SteamFriends011_GetClanByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetClanByIndex( params->iClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanName( struct cppISteamFriends_SteamFriends011_GetClanName_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanName( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanTag( struct cppISteamFriends_SteamFriends011_GetClanTag_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanTag( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanActivityCounts( struct cppISteamFriends_SteamFriends011_GetClanActivityCounts_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends011_DownloadClanActivityCounts_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends011_GetFriendCountFromSource_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendCountFromSource( params->steamIDSource );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_IsUserInSource( struct cppISteamFriends_SteamFriends011_IsUserInSource_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ActivateGameOverlay( struct cppISteamFriends_SteamFriends011_ActivateGameOverlay_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ActivateGameOverlay( params->pchDialog );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ActivateGameOverlayToWebPage( params->pchURL );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ActivateGameOverlayToStore( params->nAppID );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SetPlayedWith( struct cppISteamFriends_SteamFriends011_SetPlayedWith_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->SetPlayedWith( params->steamIDUserPlayedWith );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ActivateGameOverlayInviteDialog( params->steamIDLobby );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends011_GetSmallFriendAvatar_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends011_GetMediumFriendAvatar_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends011_GetLargeFriendAvatar_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_RequestUserInformation( struct cppISteamFriends_SteamFriends011_RequestUserInformation_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_RequestClanOfficerList( struct cppISteamFriends_SteamFriends011_RequestClanOfficerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestClanOfficerList( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanOwner( struct cppISteamFriends_SteamFriends011_GetClanOwner_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetClanOwner( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanOfficerCount( struct cppISteamFriends_SteamFriends011_GetClanOfficerCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanOfficerCount( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends011_GetClanOfficerByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetUserRestrictions( struct cppISteamFriends_SteamFriends011_GetUserRestrictions_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserRestrictions( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SetRichPresence( struct cppISteamFriends_SteamFriends011_SetRichPresence_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ClearRichPresence( struct cppISteamFriends_SteamFriends011_ClearRichPresence_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->ClearRichPresence( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendRichPresence( struct cppISteamFriends_SteamFriends011_GetFriendRichPresence_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends011_RequestFriendRichPresence_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
iface->RequestFriendRichPresence( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_InviteUserToGame( struct cppISteamFriends_SteamFriends011_InviteUserToGame_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends011_GetCoplayFriendCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetCoplayFriendCount( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetCoplayFriend( struct cppISteamFriends_SteamFriends011_GetCoplayFriend_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetCoplayFriend( params->iCoplayFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends011_GetFriendCoplayTime_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends011_GetFriendCoplayGame_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_JoinClanChatRoom( struct cppISteamFriends_SteamFriends011_JoinClanChatRoom_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->JoinClanChatRoom( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends011_LeaveClanChatRoom_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->LeaveClanChatRoom( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends011_GetClanChatMemberCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanChatMemberCount( params->steamIDClan );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends011_GetChatMemberByIndex_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SendClanChatMessage( struct cppISteamFriends_SteamFriends011_SendClanChatMessage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetClanChatMessage( struct cppISteamFriends_SteamFriends011_GetClanChatMessage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->_e, params->_f );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_IsClanChatAdmin( struct cppISteamFriends_SteamFriends011_IsClanChatAdmin_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends011_SetListenForFriendsMessages_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends011_ReplyToFriendMessage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFriendMessage( struct cppISteamFriends_SteamFriends011_GetFriendMessage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_GetFollowerCount( struct cppISteamFriends_SteamFriends011_GetFollowerCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetFollowerCount( params->steamID );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_IsFollowing( struct cppISteamFriends_SteamFriends011_IsFollowing_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsFollowing( params->steamID );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends011_EnumerateFollowingList( struct cppISteamFriends_SteamFriends011_EnumerateFollowingList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamFriends_SteamFriends011 *iface = (struct cppISteamFriends_SteamFriends011 *)params->linux_side;
|
|
|
|
params->_ret = iface->EnumerateFollowingList( params->unStartIndex );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|