2019-02-07 22:30:29 +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
|
2019-02-07 22:30:29 +03:00
|
|
|
#include "steamworks_sdk_099v/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-07 22:30:29 +03:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_099v
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUser_SteamUser005.h"
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetHSteamUser( struct cppISteamUser_SteamUser005_GetHSteamUser_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_LogOn( struct cppISteamUser_SteamUser005_LogOn_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->LogOn( (CSteamID)params->steamID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_LogOff( struct cppISteamUser_SteamUser005_LogOff_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->LogOff( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_BLoggedOn( struct cppISteamUser_SteamUser005_BLoggedOn_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetLogonState( struct cppISteamUser_SteamUser005_GetLogonState_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetLogonState( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_BConnected( struct cppISteamUser_SteamUser005_BConnected_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BConnected( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetSteamID( struct cppISteamUser_SteamUser005_GetSteamID_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
*params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_IsVACBanned( struct cppISteamUser_SteamUser005_IsVACBanned_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->IsVACBanned( (int)params->nGameID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_RequireShowVACBannedMessage( struct cppISteamUser_SteamUser005_RequireShowVACBannedMessage_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->RequireShowVACBannedMessage( (int)params->nAppID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_AcknowledgeVACBanning( struct cppISteamUser_SteamUser005_AcknowledgeVACBanning_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->AcknowledgeVACBanning( (int)params->nAppID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetSteam2Ticket( struct cppISteamUser_SteamUser005_SetSteam2Ticket_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->SetSteam2Ticket( (uint8 *)params->pubTicket, (int)params->cubTicket );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_AddServerNetAddress( struct cppISteamUser_SteamUser005_AddServerNetAddress_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->AddServerNetAddress( (uint32)params->unIP, (uint16)params->unPort );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetEmail( struct cppISteamUser_SteamUser005_SetEmail_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SetEmail( (const char *)params->pchEmail );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetRegistryString( struct cppISteamUser_SteamUser005_SetRegistryString_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (const char *)params->pchValue );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetRegistryString( struct cppISteamUser_SteamUser005_GetRegistryString_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cbValue );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetRegistryInt( struct cppISteamUser_SteamUser005_SetRegistryInt_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int)params->iValue );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetRegistryInt( struct cppISteamUser_SteamUser005_GetRegistryInt_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int *)params->piValue );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_InitiateGameConnection( struct cppISteamUser_SteamUser005_InitiateGameConnection_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pBlob, (int)params->cbMaxBlob, (CSteamID)params->steamID, (CGameID)params->gameID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_TerminateGameConnection( struct cppISteamUser_SteamUser005_TerminateGameConnection_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( struct cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->SetSelfAsPrimaryChatDestination( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_IsPrimaryChatDestination( struct cppISteamUser_SteamUser005_IsPrimaryChatDestination_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->IsPrimaryChatDestination( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_RequestLegacyCDKey( struct cppISteamUser_SteamUser005_RequestLegacyCDKey_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->RequestLegacyCDKey( (uint32)params->nAppID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SendGuestPassByEmail( struct cppISteamUser_SteamUser005_SendGuestPassByEmail_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SendGuestPassByEmail( (const char *)params->pchEmailAccount, (GID_t)params->gidGuestPassID, (bool)params->bResending );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SendGuestPassByAccountID( struct cppISteamUser_SteamUser005_SendGuestPassByAccountID_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SendGuestPassByAccountID( (uint32)params->uAccountID, (GID_t)params->gidGuestPassID, (bool)params->bResending );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_AckGuestPass( struct cppISteamUser_SteamUser005_AckGuestPass_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->AckGuestPass( (const char *)params->pchGuestPassCode );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_RedeemGuestPass( struct cppISteamUser_SteamUser005_RedeemGuestPass_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->RedeemGuestPass( (const char *)params->pchGuestPassCode );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToGiveCount( struct cppISteamUser_SteamUser005_GetGuestPassToGiveCount_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToGiveCount( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToRedeemCount( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemCount_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemCount( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime( struct cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassLastUpdateTime( );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToGiveInfo( struct cppISteamUser_SteamUser005_GetGuestPassToGiveInfo_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToGiveInfo( (uint32)params->nPassIndex, (GID_t *)params->pgidGuestPassID, (PackageId_t *)params->pnPackageID, (RTime32 *)params->pRTime32Created, (RTime32 *)params->pRTime32Expiration, (RTime32 *)params->pRTime32Sent, (RTime32 *)params->pRTime32Redeemed, (char *)params->pchRecipientAddress, (int)params->cRecipientAddressSize );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemInfo( (uint32)params->nPassIndex, (GID_t *)params->pgidGuestPassID, (PackageId_t *)params->pnPackageID, (RTime32 *)params->pRTime32Created, (RTime32 *)params->pRTime32Expiration, (RTime32 *)params->pRTime32Sent, (RTime32 *)params->pRTime32Redeemed );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemSenderAddress( (uint32)params->nPassIndex, (char *)params->pchSenderAddress, (int)params->cSenderAddressSize );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemSenderName( (uint32)params->nPassIndex, (char *)params->pchSenderName, (int)params->cSenderNameSize );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_AcknowledgeMessageByGID( struct cppISteamUser_SteamUser005_AcknowledgeMessageByGID_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->AcknowledgeMessageByGID( (const char *)params->pchMessageGID );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetLanguage( struct cppISteamUser_SteamUser005_SetLanguage_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamUser*)params->linux_side)->SetLanguage( (const char *)params->pchLanguage );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_TrackAppUsageEvent( struct cppISteamUser_SteamUser005_TrackAppUsageEvent_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetAccountName( struct cppISteamUser_SteamUser005_SetAccountName_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->SetAccountName( (const char *)params->pchAccountName );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetPassword( struct cppISteamUser_SteamUser005_SetPassword_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->SetPassword( (const char *)params->pchPassword );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetAccountCreationTime( struct cppISteamUser_SteamUser005_SetAccountCreationTime_params *params )
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamUser*)params->linux_side)->SetAccountCreationTime( (RTime32)params->rt );
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|