lsteamclient: Use standard fixed size integer types.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-14 14:53:26 +02:00 committed by Arkadiusz Hiler
parent af68b26a9b
commit 560fc53226
234 changed files with 6312 additions and 6259 deletions

View file

@ -18,7 +18,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2
{
void *linux_side;
HSteamListenSocket _ret;
int nVirtualPort;
int32_t nVirtualPort;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params );
@ -27,7 +27,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params
void *linux_side;
HSteamNetConnection _ret;
const SteamNetworkingIdentity *identityRemote;
int nVirtualPort;
int32_t nVirtualPort;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params );
@ -44,7 +44,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_para
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
int nReason;
int32_t nReason;
const char *pszDebug;
bool bEnableLinger;
};
@ -63,14 +63,14 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserDat
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
int64 nUserData;
int64_t nUserData;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params
{
void *linux_side;
int64 _ret;
int64_t _ret;
HSteamNetConnection hPeer;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params );
@ -89,7 +89,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_pa
bool _ret;
HSteamNetConnection hPeer;
char *pszName;
int nMaxLen;
int32_t nMaxLen;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params );
@ -99,8 +99,8 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnect
uint32_t _ret;
HSteamNetConnection hConn;
const void *pData;
uint32 cbData;
int nSendFlags;
uint32_t cbData;
int32_t nSendFlags;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params );
@ -115,20 +115,20 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOn
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params
{
void *linux_side;
int _ret;
int32_t _ret;
HSteamNetConnection hConn;
winSteamNetworkingMessage_t_144 **ppOutMessages;
int nMaxMessages;
int32_t nMaxMessages;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params
{
void *linux_side;
int _ret;
int32_t _ret;
HSteamListenSocket hSocket;
winSteamNetworkingMessage_t_144 **ppOutMessages;
int nMaxMessages;
int32_t nMaxMessages;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *params );
@ -153,10 +153,10 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnect
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params
{
void *linux_side;
int _ret;
int32_t _ret;
HSteamNetConnection hConn;
char *pszBuf;
int cbBuf;
int32_t cbBuf;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params );
@ -194,7 +194,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTic
void *linux_side;
bool _ret;
const void *pvTicket;
int cbTicket;
int32_t cbTicket;
SteamDatagramRelayAuthTicket *pOutParsedTicket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params );
@ -202,9 +202,9 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAu
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params
{
void *linux_side;
int _ret;
int32_t _ret;
const SteamNetworkingIdentity *identityGameServer;
int nVirtualPort;
int32_t nVirtualPort;
SteamDatagramRelayAuthTicket *pOutParsedTicket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params );
@ -214,14 +214,14 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedic
void *linux_side;
HSteamNetConnection _ret;
const SteamNetworkingIdentity *identityTarget;
int nVirtualPort;
int32_t nVirtualPort;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params
{
void *linux_side;
uint16 _ret;
uint16_t _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params );
@ -244,7 +244,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicate
{
void *linux_side;
HSteamListenSocket _ret;
int nVirtualPort;
int32_t nVirtualPort;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params );