2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +00:00

lsteamclient: Make Windows-side struct definitions available to C files

This commit is contained in:
Andrew Eikum
2019-02-26 09:05:29 -06:00
parent 2054bb97a9
commit 4880c3b3ab
465 changed files with 3125 additions and 3734 deletions

View File

@@ -1,11 +1,12 @@
#include "steam_defs.h"
#include "steamworks_sdk_112/steam_api.h"
#include "steamclient_private.h"
#include "cppISteamNetworking_SteamNetworking004.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "struct_converters_112.h"
#define SDKVER_112
#include "struct_converters.h"
#include "cppISteamNetworking_SteamNetworking004.h"
bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort)
{
return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nVirtualPort);