2018-01-18 19:24:05 +03:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#include "steam_defs.h"
|
|
|
|
#include "steamworks_sdk_100/steam_api.h"
|
|
|
|
#include "cppISteamUser_SteamUser009.h"
|
2018-10-29 19:38:13 +03:00
|
|
|
#include "struct_converters_100.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamUser*)linux_side)->GetHSteamUser();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUser_SteamUser009_BLoggedOn(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamUser*)linux_side)->BLoggedOn();
|
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamUser_SteamUser009_GetSteamID(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamUser*)linux_side)->GetSteamID();
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamUser_SteamUser009_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure)
|
|
|
|
{
|
2018-10-29 19:38:13 +03:00
|
|
|
return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser009_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser009_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo)
|
|
|
|
{
|
2018-10-29 19:38:13 +03:00
|
|
|
((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUser_SteamUser009_RefreshSteam2Login(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamUser*)linux_side)->RefreshSteam2Login();
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|