mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-31 00:55:37 +03:00
f6871a6b73
CW-Bug-Id: #22729
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
|
#include "steamworks_sdk_158/isteamgamecoordinator.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_158
|
|
#include "struct_converters.h"
|
|
#include "cppISteamGameCoordinator_SteamGameCoordinator001.h"
|
|
EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void *pubData, uint32 cubData)
|
|
{
|
|
EGCResults _ret;
|
|
_ret = ((ISteamGameCoordinator*)linux_side)->SendMessage((uint32)unMsgType, (const void *)pubData, (uint32)cubData);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *linux_side, uint32 *pcubMsgSize)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamGameCoordinator*)linux_side)->IsMessageAvailable((uint32 *)pcubMsgSize);
|
|
return (_ret);
|
|
}
|
|
|
|
EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *linux_side, uint32 *punMsgType, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize)
|
|
{
|
|
EGCResults _ret;
|
|
_ret = ((ISteamGameCoordinator*)linux_side)->RetrieveMessage((uint32 *)punMsgType, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize);
|
|
return (_ret);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|