mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 22:55:18 +00:00
Move lsteamclient out of wine
This commit is contained in:
130
lsteamclient/cppISteamClient_SteamClient010.cpp
Normal file
130
lsteamclient/cppISteamClient_SteamClient010.cpp
Normal file
@@ -0,0 +1,130 @@
|
||||
#include "steamclient_private.h"
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_115/steam_api.h"
|
||||
#include "cppISteamClient_SteamClient010.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *linux_side)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->CreateSteamPipe();
|
||||
}
|
||||
|
||||
bool cppISteamClient_SteamClient010_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe);
|
||||
}
|
||||
|
||||
HSteamUser cppISteamClient_SteamClient010_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe);
|
||||
}
|
||||
|
||||
HSteamUser cppISteamClient_SteamClient010_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType);
|
||||
}
|
||||
|
||||
void cppISteamClient_SteamClient010_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser)
|
||||
{
|
||||
((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser);
|
||||
}
|
||||
|
||||
void *cppISteamClient_SteamClient010_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_SteamClient010_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_SteamClient010_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort)
|
||||
{
|
||||
((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort);
|
||||
}
|
||||
|
||||
void *cppISteamClient_SteamClient010_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_SteamClient010_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
||||
}
|
||||
|
||||
void *cppISteamClient_SteamClient010_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_SteamClient010_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
||||
}
|
||||
|
||||
void *cppISteamClient_SteamClient010_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_SteamClient010_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_SteamClient010_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_SteamClient010_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_SteamClient010_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_SteamClient010_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_SteamClient010_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_SteamClient010_RunFrame(void *linux_side)
|
||||
{
|
||||
((ISteamClient*)linux_side)->RunFrame();
|
||||
}
|
||||
|
||||
uint32 cppISteamClient_SteamClient010_GetIPCCallCount(void *linux_side)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->GetIPCCallCount();
|
||||
}
|
||||
|
||||
void cppISteamClient_SteamClient010_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction)
|
||||
{
|
||||
((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction);
|
||||
}
|
||||
|
||||
bool cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(void *linux_side)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed();
|
||||
}
|
||||
|
||||
void *cppISteamClient_SteamClient010_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)
|
||||
{
|
||||
return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user