2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "cppISteamFriends_SteamFriends002.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002
|
2023-09-24 00:44:45 +03:00
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual const char * GetPersonaName( ) = 0;
|
|
|
|
virtual void SetPersonaName( const char * ) = 0;
|
|
|
|
virtual uint32_t GetPersonaState( ) = 0;
|
|
|
|
virtual void SetPersonaState( uint32_t ) = 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 void SetFriendRegValue( CSteamID, const char *, const char * ) = 0;
|
|
|
|
virtual const char * GetFriendRegValue( CSteamID, const char * ) = 0;
|
|
|
|
virtual bool GetFriendGamePlayed( CSteamID, uint64_t *, uint32_t *, uint16_t *, uint16_t * ) = 0;
|
|
|
|
virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0;
|
|
|
|
virtual bool AddFriend( CSteamID ) = 0;
|
|
|
|
virtual bool RemoveFriend( CSteamID ) = 0;
|
|
|
|
virtual bool HasFriend( CSteamID, int32_t ) = 0;
|
|
|
|
virtual int32_t AddFriendByName( const char * ) = 0;
|
|
|
|
virtual bool InviteFriendByEmail( const char * ) = 0;
|
|
|
|
virtual int32_t GetChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0;
|
|
|
|
virtual bool SendMsgToFriend( CSteamID, uint32_t, const void *, int32_t ) = 0;
|
|
|
|
virtual int32_t GetChatIDOfChatHistoryStart( CSteamID ) = 0;
|
|
|
|
virtual void SetChatHistoryStart( CSteamID, int32_t ) = 0;
|
|
|
|
virtual void ClearChatHistory( CSteamID ) = 0;
|
|
|
|
virtual int32_t GetClanCount( ) = 0;
|
|
|
|
virtual CSteamID GetClanByIndex( int32_t ) = 0;
|
|
|
|
virtual const char * GetClanName( CSteamID ) = 0;
|
|
|
|
virtual bool InviteFriendToClan( CSteamID, CSteamID ) = 0;
|
|
|
|
virtual bool AcknowledgeInviteToClan( CSteamID, bool ) = 0;
|
|
|
|
virtual int32_t GetFriendCountFromSource( CSteamID ) = 0;
|
|
|
|
virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetPersonaName( struct cppISteamFriends_SteamFriends002_GetPersonaName_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetPersonaName( );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_SetPersonaName( struct cppISteamFriends_SteamFriends002_SetPersonaName_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetPersonaName( params->pchPersonaName );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetPersonaState( struct cppISteamFriends_SteamFriends002_GetPersonaState_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetPersonaState( );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_SetPersonaState( struct cppISteamFriends_SteamFriends002_SetPersonaState_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetPersonaState( params->ePersonaState );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendCount( struct cppISteamFriends_SteamFriends002_GetFriendCount_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendCount( params->iFriendFlags );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendByIndex( struct cppISteamFriends_SteamFriends002_GetFriendByIndex_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendRelationship( struct cppISteamFriends_SteamFriends002_GetFriendRelationship_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendRelationship( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendPersonaState( struct cppISteamFriends_SteamFriends002_GetFriendPersonaState_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendPersonaState( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendPersonaName( struct cppISteamFriends_SteamFriends002_GetFriendPersonaName_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendPersonaName( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_SetFriendRegValue( struct cppISteamFriends_SteamFriends002_SetFriendRegValue_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetFriendRegValue( params->steamIDFriend, params->pchKey, params->pchValue );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendRegValue( struct cppISteamFriends_SteamFriends002_GetFriendRegValue_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendRegValue( params->steamIDFriend, params->pchKey );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends002_GetFriendGamePlayed_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort, params->pusQueryPort );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_AddFriend( struct cppISteamFriends_SteamFriends002_AddFriend_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->AddFriend( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_RemoveFriend( struct cppISteamFriends_SteamFriends002_RemoveFriend_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RemoveFriend( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_HasFriend( struct cppISteamFriends_SteamFriends002_HasFriend_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_AddFriendByName( struct cppISteamFriends_SteamFriends002_AddFriendByName_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->AddFriendByName( params->pchEmailOrAccountName );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_InviteFriendByEmail( struct cppISteamFriends_SteamFriends002_InviteFriendByEmail_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->InviteFriendByEmail( params->pchEmailAccount );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetChatMessage( struct cppISteamFriends_SteamFriends002_GetChatMessage_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetChatMessage( params->steamIDFriend, params->iChatID, params->pvData, params->cubData, params->peChatEntryType );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_SendMsgToFriend( struct cppISteamFriends_SteamFriends002_SendMsgToFriend_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SendMsgToFriend( params->steamIDFriend, params->eChatEntryType, params->pvMsgBody, params->cubMsgBody );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( struct cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetChatIDOfChatHistoryStart( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_SetChatHistoryStart( struct cppISteamFriends_SteamFriends002_SetChatHistoryStart_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetChatHistoryStart( params->steamIDFriend, params->iChatID );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_ClearChatHistory( struct cppISteamFriends_SteamFriends002_ClearChatHistory_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->ClearChatHistory( params->steamIDFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetClanCount( struct cppISteamFriends_SteamFriends002_GetClanCount_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetClanCount( );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetClanByIndex( struct cppISteamFriends_SteamFriends002_GetClanByIndex_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->GetClanByIndex( params->iClan );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetClanName( struct cppISteamFriends_SteamFriends002_GetClanName_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetClanName( params->steamIDClan );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_InviteFriendToClan( struct cppISteamFriends_SteamFriends002_InviteFriendToClan_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->InviteFriendToClan( params->steamIDFriend, params->steamIDClan );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan( struct cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->AcknowledgeInviteToClan( params->steamIDClan, params->bAcceptOrDenyClanInvite );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends002_GetFriendCountFromSource_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetFriendCountFromSource( params->steamIDSource );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params *params )
|
2019-02-06 18:19:39 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend );
|
2019-02-06 18:19:39 +03:00
|
|
|
}
|
|
|
|
|