142 lines
4.9 KiB
C++
142 lines
4.9 KiB
C++
#include "steam_defs.h"
|
|
#include "steamworks_sdk_099u/steam_api.h"
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_099u
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUser_SteamUser004.h"
|
|
HSteamUser cppISteamUser_SteamUser004_GetHSteamUser(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetHSteamUser();
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_LogOn(void *linux_side, CSteamID steamID)
|
|
{
|
|
((ISteamUser*)linux_side)->LogOn((CSteamID)steamID);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_LogOff(void *linux_side)
|
|
{
|
|
((ISteamUser*)linux_side)->LogOff();
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_BLoggedOn(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->BLoggedOn();
|
|
}
|
|
|
|
ELogonState cppISteamUser_SteamUser004_GetLogonState(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetLogonState();
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_BConnected(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->BConnected();
|
|
}
|
|
|
|
CSteamID cppISteamUser_SteamUser004_GetSteamID(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetSteamID();
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_IsVACBanned(void *linux_side, int nGameID)
|
|
{
|
|
return ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_RequireShowVACBannedMessage(void *linux_side, int nGameID)
|
|
{
|
|
return ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nGameID);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_AcknowledgeVACBanning(void *linux_side, int nGameID)
|
|
{
|
|
((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nGameID);
|
|
}
|
|
|
|
int cppISteamUser_SteamUser004_NClientGameIDAdd(void *linux_side, int nGameID)
|
|
{
|
|
return ((ISteamUser*)linux_side)->NClientGameIDAdd((int)nGameID);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_RemoveClientGame(void *linux_side, int nClientGameID)
|
|
{
|
|
((ISteamUser*)linux_side)->RemoveClientGame((int)nClientGameID);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_SetClientGameServer(void *linux_side, int nClientGameID, uint32 unIPServer, uint16 usPortServer)
|
|
{
|
|
((ISteamUser*)linux_side)->SetClientGameServer((int)nClientGameID, (uint32)unIPServer, (uint16)usPortServer);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_SetSteam2Ticket(void *linux_side, uint8 * pubTicket, int cubTicket)
|
|
{
|
|
((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort)
|
|
{
|
|
((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_SetEmail(void *linux_side, const char * pchEmail)
|
|
{
|
|
return ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail);
|
|
}
|
|
|
|
int cppISteamUser_SteamUser004_GetSteamGameConnectToken(void *linux_side, void * pBlob, int cbMaxBlob)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetSteamGameConnectToken((void *)pBlob, (int)cbMaxBlob);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue)
|
|
{
|
|
return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue)
|
|
{
|
|
return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue);
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue)
|
|
{
|
|
return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue);
|
|
}
|
|
|
|
int cppISteamUser_SteamUser004_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, int nGameAppID, uint32 unIPServer, uint16 usPortServer, bool bSecure)
|
|
{
|
|
return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (int)nGameAppID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer)
|
|
{
|
|
((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer);
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(void *linux_side)
|
|
{
|
|
((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination();
|
|
}
|
|
|
|
bool cppISteamUser_SteamUser004_IsPrimaryChatDestination(void *linux_side)
|
|
{
|
|
return ((ISteamUser*)linux_side)->IsPrimaryChatDestination();
|
|
}
|
|
|
|
void cppISteamUser_SteamUser004_RequestLegacyCDKey(void *linux_side, uint32 iAppID)
|
|
{
|
|
((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)iAppID);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|