Yucom/lsteamclient/cppISteamClient_SteamClient018.cpp

286 lines
13 KiB
C++
Raw Normal View History

2019-02-25 16:44:23 +01:00
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
2019-08-16 14:44:08 +02:00
#include "steamworks_sdk_145/steam_api.h"
#include "steamworks_sdk_145/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
2019-02-25 16:44:23 +01:00
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
2019-08-16 14:44:08 +02:00
#define SDKVER_145
#include "struct_converters.h"
#include "cppISteamClient_SteamClient018.h"
2019-02-25 16:44:23 +01:00
HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *linux_side)
{
HSteamPipe _ret;
_ret = ((ISteamClient*)linux_side)->CreateSteamPipe();
return after_steam_pipe_create(_ret);
2019-02-25 16:44:23 +01:00
}
bool cppISteamClient_SteamClient018_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe)
{
bool _ret;
_ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe);
return (_ret);
2019-02-25 16:44:23 +01:00
}
HSteamUser cppISteamClient_SteamClient018_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe)
{
HSteamUser _ret;
_ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe);
return (_ret);
2019-02-25 16:44:23 +01:00
}
HSteamUser cppISteamClient_SteamClient018_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType)
2019-02-25 16:44:23 +01:00
{
HSteamUser _ret;
_ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void cppISteamClient_SteamClient018_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser)
{
((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser);
}
void /*ISteamUser*/ * cppISteamClient_SteamClient018_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamUser*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamGameServer*/ * cppISteamClient_SteamClient018_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamGameServer*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void cppISteamClient_SteamClient018_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort)
{
((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort);
}
void /*ISteamFriends*/ * cppISteamClient_SteamClient018_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamFriends*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamUtils*/ * cppISteamClient_SteamClient018_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamUtils*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient018_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamMatchmaking*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient018_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamMatchmakingServers*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void * cppISteamClient_SteamClient018_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamUserStats*/ * cppISteamClient_SteamClient018_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamUserStats*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient018_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamGameServerStats*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamApps*/ * cppISteamClient_SteamClient018_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamApps*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamNetworking*/ * cppISteamClient_SteamClient018_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamNetworking*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient018_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamRemoteStorage*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamScreenshots*/ * cppISteamClient_SteamClient018_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamScreenshots*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamGameSearch*/ * cppISteamClient_SteamClient018_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamGameSearch*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void cppISteamClient_SteamClient018_RunFrame(void *linux_side)
{
((ISteamClient*)linux_side)->RunFrame();
}
uint32 cppISteamClient_SteamClient018_GetIPCCallCount(void *linux_side)
{
uint32 _ret;
_ret = ((ISteamClient*)linux_side)->GetIPCCallCount();
return (_ret);
2019-02-25 16:44:23 +01:00
}
void cppISteamClient_SteamClient018_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction)
{
pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction);
2019-02-25 16:44:23 +01:00
((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction);
}
bool cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(void *linux_side)
{
bool _ret;
_ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed();
return after_shutdown(_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamHTTP*/ * cppISteamClient_SteamClient018_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamHTTP*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void * cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void *_ret;
_ret = ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamController*/ * cppISteamClient_SteamClient018_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamController*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamUGC*/ * cppISteamClient_SteamClient018_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamUGC*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamAppList*/ * cppISteamClient_SteamClient018_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamAppList*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamMusic*/ * cppISteamClient_SteamClient018_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamMusic*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient018_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamMusicRemote*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient018_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamHTMLSurface*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a)
2019-02-25 16:44:23 +01:00
{
((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a);
}
void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a)
2019-02-25 16:44:23 +01:00
{
((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a);
}
void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func)
{
func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func);
2019-02-25 16:44:23 +01:00
((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func);
}
void /*ISteamInventory*/ * cppISteamClient_SteamClient018_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamInventory*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamVideo*/ * cppISteamClient_SteamClient018_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamVideo*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient018_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamParentalSettings*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamInput*/ * cppISteamClient_SteamClient018_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamInput*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
void /*ISteamParties*/ * cppISteamClient_SteamClient018_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion)
2019-02-25 16:44:23 +01:00
{
void /*ISteamParties*/ *_ret;
_ret = ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion);
return (_ret);
2019-02-25 16:44:23 +01:00
}
#ifdef __cplusplus
}
#endif