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"
|
2019-02-07 22:30:29 +03:00
|
|
|
HSteamUser cppISteamUser_SteamUser005_GetHSteamUser(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
HSteamUser _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetHSteamUser();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_LogOn(void *linux_side, CSteamID steamID)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->LogOn((CSteamID)steamID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_LogOff(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->LogOff();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_BLoggedOn(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->BLoggedOn();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
ELogonState cppISteamUser_SteamUser005_GetLogonState(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
ELogonState _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetLogonState();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_BConnected(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->BConnected();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamUser_SteamUser005_GetSteamID(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
CSteamID _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetSteamID();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_IsVACBanned(void *linux_side, int nGameID)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_RequireShowVACBannedMessage(void *linux_side, int nAppID)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nAppID);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *linux_side, int nAppID)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nAppID);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetSteam2Ticket(void *linux_side, uint8 *pubTicket, int cubTicket)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_SetEmail(void *linux_side, const char *pchEmail)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
int cppISteamUser_SteamUser005_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_IsPrimaryChatDestination(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->IsPrimaryChatDestination();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *linux_side, uint32 nAppID)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)nAppID);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *linux_side, const char *pchEmailAccount, GID_t gidGuestPassID, bool bResending)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SendGuestPassByEmail((const char *)pchEmailAccount, (GID_t)gidGuestPassID, (bool)bResending);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *linux_side, uint32 uAccountID, GID_t gidGuestPassID, bool bResending)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SendGuestPassByAccountID((uint32)uAccountID, (GID_t)gidGuestPassID, (bool)bResending);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_AckGuestPass(void *linux_side, const char *pchGuestPassCode)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->AckGuestPass((const char *)pchGuestPassCode);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_RedeemGuestPass(void *linux_side, const char *pchGuestPassCode)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->RedeemGuestPass((const char *)pchGuestPassCode);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUser_SteamUser005_GetGuestPassToGiveCount(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToGiveCount();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemCount();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
RTime32 _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassLastUpdateTime();
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed, char *pchRecipientAddress, int cRecipientAddressSize)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToGiveInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed, (char *)pchRecipientAddress, (int)cRecipientAddressSize);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *linux_side, uint32 nPassIndex, char *pchSenderAddress, int cSenderAddressSize)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderAddress((uint32)nPassIndex, (char *)pchSenderAddress, (int)cSenderAddressSize);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *linux_side, uint32 nPassIndex, char *pchSenderName, int cSenderNameSize)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderName((uint32)nPassIndex, (char *)pchSenderName, (int)cSenderNameSize);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *linux_side, const char *pchMessageGID)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->AcknowledgeMessageByGID((const char *)pchMessageGID);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamUser_SteamUser005_SetLanguage(void *linux_side, const char *pchLanguage)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUser*)linux_side)->SetLanguage((const char *)pchLanguage);
|
|
|
|
return (_ret);
|
2019-02-07 22:30:29 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetAccountName(void *linux_side, const char *pchAccountName)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->SetAccountName((const char *)pchAccountName);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamUser_SteamUser005_SetPassword(void *linux_side, const char *pchPassword)
|
2019-02-07 22:30:29 +03:00
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->SetPassword((const char *)pchPassword);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser005_SetAccountCreationTime(void *linux_side, RTime32 rt)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->SetAccountCreationTime((RTime32)rt);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|