mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
33 lines
1.3 KiB
C++
33 lines
1.3 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#include "steamworks_sdk_153_preview/steam_api.h"
|
|
#include "steamworks_sdk_153_preview/steamnetworkingtypes.h"
|
|
#include "steamworks_sdk_153_preview/isteamgamecoordinator.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_153_preview
|
|
#include "struct_converters.h"
|
|
#include "cppISteamGameCoordinator_SteamGameCoordinator001.h"
|
|
EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData)
|
|
{
|
|
return ((ISteamGameCoordinator*)linux_side)->SendMessage((uint32)unMsgType, (const void *)pubData, (uint32)cubData);
|
|
}
|
|
|
|
bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *linux_side, uint32 * pcubMsgSize)
|
|
{
|
|
return ((ISteamGameCoordinator*)linux_side)->IsMessageAvailable((uint32 *)pcubMsgSize);
|
|
}
|
|
|
|
EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *linux_side, uint32 * punMsgType, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize)
|
|
{
|
|
return ((ISteamGameCoordinator*)linux_side)->RetrieveMessage((uint32 *)punMsgType, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|