2019-02-05 23:43:00 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2019-02-05 23:43:00 +03:00
|
|
|
#include "steamworks_sdk_128x/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-05 23:43:00 +03:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_128x
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamClient_SteamClient013.h"
|
2019-02-05 23:43:00 +03:00
|
|
|
HSteamPipe cppISteamClient_SteamClient013_CreateSteamPipe(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->CreateSteamPipe();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamClient_SteamClient013_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe);
|
|
|
|
}
|
|
|
|
|
|
|
|
HSteamUser cppISteamClient_SteamClient013_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe);
|
|
|
|
}
|
|
|
|
|
|
|
|
HSteamUser cppISteamClient_SteamClient013_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamClient_SteamClient013_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser)
|
|
|
|
{
|
|
|
|
((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamClient_SteamClient013_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort)
|
|
|
|
{
|
|
|
|
((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void * cppISteamClient_SteamClient013_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamClient_SteamClient013_RunFrame(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamClient*)linux_side)->RunFrame();
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamClient_SteamClient013_GetIPCCallCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetIPCCallCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamClient_SteamClient013_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction)
|
|
|
|
{
|
2022-06-15 01:54:51 +03:00
|
|
|
pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction);
|
2019-02-05 23:43:00 +03:00
|
|
|
((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed();
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void * cppISteamClient_SteamClient013_GetISteamInventory(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void * cppISteamClient_SteamClient013_GetISteamVideo(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
void *cppISteamClient_SteamClient013_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
|
|
|
{
|
|
|
|
return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|