mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
parent
cc38f0c8c1
commit
f6871a6b73
233 changed files with 29134 additions and 10252 deletions
|
|
@ -15,17 +15,23 @@ extern "C" {
|
|||
#include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h"
|
||||
float cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t *result)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result);
|
||||
float _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2);
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t *remoteLocation)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation);
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize)
|
||||
|
|
@ -35,42 +41,58 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToStrin
|
|||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(void *linux_side, const char *pszString, SteamNetworkPingLocation_t *result)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(void *linux_side)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->IsPingMeasurementInProgress();
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->IsPingMeasurementInProgress();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP);
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID);
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(void *linux_side)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount();
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPCount();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(void *linux_side, SteamNetworkingPOPID *list, int nListSz)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz);
|
||||
int _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(void *linux_side)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp();
|
||||
SteamNetworkingMicroseconds _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc)
|
||||
|
|
@ -81,22 +103,30 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(voi
|
|||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult);
|
||||
ESteamNetworkingGetConfigValueResult _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(void *linux_side)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue();
|
||||
ESteamNetworkingConfigValue _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort)
|
||||
|
|
@ -106,7 +136,9 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToSt
|
|||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr *pAddr, const char *pszStr)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf)
|
||||
|
|
@ -116,7 +148,9 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_To
|
|||
|
||||
bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity *pIdentity, const char *pszStr)
|
||||
{
|
||||
return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr);
|
||||
bool _ret;
|
||||
_ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue