mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
parent
9b1a3cb349
commit
9ea65fe0d0
514 changed files with 10161 additions and 10868 deletions
|
|
@ -1,20 +1,8 @@
|
|||
#include "steam_defs.h"
|
||||
#pragma push_macro("__cdecl")
|
||||
#undef __cdecl
|
||||
#define __cdecl
|
||||
#include "steamworks_sdk_146/steam_api.h"
|
||||
#include "steamworks_sdk_146/steamnetworkingtypes.h"
|
||||
#include "steamworks_sdk_146/isteamnetworkingutils.h"
|
||||
#pragma pop_macro("__cdecl")
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_146
|
||||
#include "struct_converters.h"
|
||||
/* This file is auto-generated, do not edit. */
|
||||
#include "unix_private.h"
|
||||
#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h"
|
||||
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002
|
||||
{
|
||||
#ifdef __cplusplus
|
||||
virtual uint32_t GetRelayNetworkStatus( SteamRelayNetworkStatus_t * ) = 0;
|
||||
|
|
@ -29,146 +17,143 @@ struct cppISteamNetworkingUtils_SteamNetworkingUtils002
|
|||
virtual int32_t GetPOPCount( ) = 0;
|
||||
virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0;
|
||||
virtual int64_t GetLocalTimestamp( ) = 0;
|
||||
virtual void SetDebugOutputFunction( uint32_t, void (*)(uint32_t, const char *) ) = 0;
|
||||
virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0;
|
||||
virtual bool SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0;
|
||||
virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0;
|
||||
virtual bool GetConfigValueInfo( uint32_t, const char **, uint32_t *, uint32_t *, uint32_t * ) = 0;
|
||||
virtual uint32_t GetFirstConfigValue( ) = 0;
|
||||
virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, bool ) = 0;
|
||||
virtual bool SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0;
|
||||
virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity *, char *, uint32_t ) = 0;
|
||||
virtual bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *, const char * ) = 0;
|
||||
virtual ~cppISteamNetworkingUtils_SteamNetworkingUtils002( ) = 0;
|
||||
virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0;
|
||||
virtual bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0;
|
||||
virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils002( ) = 0;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetRelayNetworkStatus( params->pDetails );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetLocalPingLocation( params->result );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->EstimatePingTimeBetweenTwoLocations( params->location1, params->location2 );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->EstimatePingTimeFromLocalHost( params->remoteLocation );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
iface->ConvertPingLocationToString( params->location, params->pszBuf, params->cchBufSize );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->ParsePingLocationString( params->pszString, params->result );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->CheckPingDataUpToDate( params->flMaxAgeSeconds );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetPingToDataCenter( params->popID, params->pViaRelayPoP );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetDirectPingToPOP( params->popID );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetPOPCount( );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetPOPList( params->list, params->nListSz );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetLocalTimestamp( );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
void (*U_STDCALL lin_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc );
|
||||
iface->SetDebugOutputFunction( params->eDetailLevel, lin_pfnFunc );
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc );
|
||||
iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->eDataType, params->pArg );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->pOutDataType, params->pResult, params->cbResult );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetConfigValueInfo( params->eValue, params->pOutName, params->pOutDataType, params->pOutScope, params->pOutNextValue );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->GetFirstConfigValue( );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
iface->SteamNetworkingIPAddr_ToString( params->addr, params->buf, params->cbBuf, params->bWithPort );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->SteamNetworkingIPAddr_ParseString( params->pAddr, params->pszStr );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
iface->SteamNetworkingIdentity_ToString( params->identity, params->buf, params->cbBuf );
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *params )
|
||||
{
|
||||
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side;
|
||||
params->_ret = iface->SteamNetworkingIdentity_ParseString( params->pIdentity, params->pszStr );
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue