lsteamclient: Wrap parameters in structures.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-27 14:34:23 +02:00
parent ddd0357a94
commit 1f57edc2a4
439 changed files with 109952 additions and 43685 deletions

View file

@ -1,21 +1,188 @@
extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *);
extern float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *);
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *, float);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *, SteamNetworkingPOPID);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *);
extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *, SteamNetworkingPOPID *, int);
extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *);
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *);
extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *);
extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *);
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *);
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t);
extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *);
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params
{
void *linux_side;
ESteamNetworkingAvailability _ret;
SteamRelayNetworkStatus_t *pDetails;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params
{
void *linux_side;
float _ret;
SteamNetworkPingLocation_t *result;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params
{
void *linux_side;
int _ret;
const SteamNetworkPingLocation_t *location1;
const SteamNetworkPingLocation_t *location2;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params
{
void *linux_side;
int _ret;
const SteamNetworkPingLocation_t *remoteLocation;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params
{
void *linux_side;
const SteamNetworkPingLocation_t *location;
char *pszBuf;
int cchBufSize;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params
{
void *linux_side;
bool _ret;
const char *pszString;
SteamNetworkPingLocation_t *result;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params
{
void *linux_side;
bool _ret;
float flMaxAgeSeconds;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params
{
void *linux_side;
int _ret;
SteamNetworkingPOPID popID;
SteamNetworkingPOPID *pViaRelayPoP;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params
{
void *linux_side;
int _ret;
SteamNetworkingPOPID popID;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params
{
void *linux_side;
int _ret;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params
{
void *linux_side;
int _ret;
SteamNetworkingPOPID *list;
int nListSz;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params
{
void *linux_side;
SteamNetworkingMicroseconds _ret;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params
{
void *linux_side;
ESteamNetworkingSocketsDebugOutputType eDetailLevel;
FSteamNetworkingSocketsDebugOutput pfnFunc;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params
{
void *linux_side;
bool _ret;
ESteamNetworkingConfigValue eValue;
ESteamNetworkingConfigScope eScopeType;
intptr_t scopeObj;
ESteamNetworkingConfigDataType eDataType;
const void *pArg;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params
{
void *linux_side;
ESteamNetworkingGetConfigValueResult _ret;
ESteamNetworkingConfigValue eValue;
ESteamNetworkingConfigScope eScopeType;
intptr_t scopeObj;
ESteamNetworkingConfigDataType *pOutDataType;
void *pResult;
size_t *cbResult;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params
{
void *linux_side;
bool _ret;
ESteamNetworkingConfigValue eValue;
const char **pOutName;
ESteamNetworkingConfigDataType *pOutDataType;
ESteamNetworkingConfigScope *pOutScope;
ESteamNetworkingConfigValue *pOutNextValue;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params
{
void *linux_side;
ESteamNetworkingConfigValue _ret;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params
{
void *linux_side;
const SteamNetworkingIPAddr *addr;
char *buf;
size_t cbBuf;
bool bWithPort;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params
{
void *linux_side;
bool _ret;
SteamNetworkingIPAddr *pAddr;
const char *pszStr;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params
{
void *linux_side;
const SteamNetworkingIdentity *identity;
char *buf;
size_t cbBuf;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *params );
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params
{
void *linux_side;
bool _ret;
SteamNetworkingIdentity *pIdentity;
const char *pszStr;
};
extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *params );