2019-05-17 16:33:44 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "steam_defs.h"
|
|
|
|
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
#include "struct_converters.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
#include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h"
|
2021-12-20 16:48:44 +01:00
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor, 4)
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.result = result,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location1 = location1,
|
|
|
|
.location2 = location2,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.remoteLocation = remoteLocation,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location = location,
|
|
|
|
.pszBuf = pszBuf,
|
|
|
|
.cchBufSize = cchBufSize,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( ¶ms );
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszString = pszString,
|
|
|
|
.result = result,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.flMaxAgeSeconds = flMaxAgeSeconds,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(struct w_steam_iface *_this)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
.pViaRelayPoP = pViaRelayPoP,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(struct w_steam_iface *_this)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.list = list,
|
|
|
|
.nListSz = nListSz,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(struct w_steam_iface *_this)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 21:24:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*__stdcall pfnFunc)(uint32_t, const char *))
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDetailLevel = eDetailLevel,
|
|
|
|
.pfnFunc = pfnFunc,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( ¶ms );
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.eDataType = eDataType,
|
|
|
|
.pArg = pArg,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pResult = pResult,
|
|
|
|
.cbResult = cbResult,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.pOutName = pOutName,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pOutScope = pOutScope,
|
|
|
|
.pOutNextValue = pOutNextValue,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(struct w_steam_iface *_this)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, bool bWithPort)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.addr = addr,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
.bWithPort = bWithPort,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( ¶ms );
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pAddr = pAddr,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, uint32_t cbBuf)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.identity = identity,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( ¶ms );
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pIdentity = pIdentity,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_destructor(struct w_steam_iface *_this)
|
2021-12-20 16:48:44 +01:00
|
|
|
{/* never called */}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils001_vtable;
|
2021-12-20 16:48:44 +01:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor)
|
2021-12-20 16:48:44 +01:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *u_iface)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils001");
|
2021-12-20 16:48:44 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils001_vtable, 22, "SteamNetworkingUtils001");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2021-12-20 16:48:44 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h"
|
2019-12-11 20:59:25 +01:00
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor, 4)
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.result = result,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location1 = location1,
|
|
|
|
.location2 = location2,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.remoteLocation = remoteLocation,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location = location,
|
|
|
|
.pszBuf = pszBuf,
|
|
|
|
.cchBufSize = cchBufSize,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( ¶ms );
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszString = pszString,
|
|
|
|
.result = result,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.flMaxAgeSeconds = flMaxAgeSeconds,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
.pViaRelayPoP = pViaRelayPoP,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.list = list,
|
|
|
|
.nListSz = nListSz,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 21:24:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*__stdcall pfnFunc)(uint32_t, const char *))
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDetailLevel = eDetailLevel,
|
|
|
|
.pfnFunc = pfnFunc,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( ¶ms );
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.eDataType = eDataType,
|
|
|
|
.pArg = pArg,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pResult = pResult,
|
|
|
|
.cbResult = cbResult,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.pOutName = pOutName,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pOutScope = pOutScope,
|
|
|
|
.pOutNextValue = pOutNextValue,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, bool bWithPort)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.addr = addr,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
.bWithPort = bWithPort,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( ¶ms );
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pAddr = pAddr,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, uint32_t cbBuf)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.identity = identity,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( ¶ms );
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pIdentity = pIdentity,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{/* never called */}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils002_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *u_iface)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils002");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils002_vtable, 22, "SteamNetworkingUtils002");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor, 4)
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
winSteamNetworkingMessage_t_152 * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(struct w_steam_iface *_this, int32_t cbAllocateBuffer)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.cbAllocateBuffer = cbAllocateBuffer,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.result = result,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location1 = location1,
|
|
|
|
.location2 = location2,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.remoteLocation = remoteLocation,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location = location,
|
|
|
|
.pszBuf = pszBuf,
|
|
|
|
.cchBufSize = cchBufSize,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( ¶ms );
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszString = pszString,
|
|
|
|
.result = result,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.flMaxAgeSeconds = flMaxAgeSeconds,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
.pViaRelayPoP = pViaRelayPoP,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(struct w_steam_iface *_this)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.list = list,
|
|
|
|
.nListSz = nListSz,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(struct w_steam_iface *_this)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 21:24:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*__stdcall pfnFunc)(uint32_t, const char *))
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDetailLevel = eDetailLevel,
|
|
|
|
.pfnFunc = pfnFunc,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( ¶ms );
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.eDataType = eDataType,
|
|
|
|
.pArg = pArg,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pResult = pResult,
|
|
|
|
.cbResult = cbResult,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.pOutName = pOutName,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pOutScope = pOutScope,
|
|
|
|
.pOutNextValue = pOutNextValue,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(struct w_steam_iface *_this)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, bool bWithPort)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.addr = addr,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
.bWithPort = bWithPort,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( ¶ms );
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pAddr = pAddr,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, uint32_t cbBuf)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.identity = identity,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( ¶ms );
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pIdentity = pIdentity,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_destructor(struct w_steam_iface *_this)
|
2019-12-11 20:59:25 +01:00
|
|
|
{/* never called */}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils003_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils003,
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *u_iface)
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils003");
|
2019-12-11 20:59:25 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 05:02:39 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils003_vtable, 23, "SteamNetworkingUtils003");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2019-12-11 20:59:25 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
#include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h"
|
2019-08-16 14:44:08 +02:00
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor, 4)
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
winSteamNetworkingMessage_t_158 * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(struct w_steam_iface *_this, int32_t cbAllocateBuffer)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.cbAllocateBuffer = cbAllocateBuffer,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.result = result,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location1 = location1,
|
|
|
|
.location2 = location2,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.remoteLocation = remoteLocation,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.location = location,
|
|
|
|
.pszBuf = pszBuf,
|
|
|
|
.cchBufSize = cchBufSize,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( ¶ms );
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszString = pszString,
|
|
|
|
.result = result,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds)
|
2019-08-16 14:44:08 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.flMaxAgeSeconds = flMaxAgeSeconds,
|
|
|
|
};
|
2019-08-16 14:44:08 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 14:44:08 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
.pViaRelayPoP = pViaRelayPoP,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.popID = popID,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(struct w_steam_iface *_this)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.list = list,
|
|
|
|
.nListSz = nListSz,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(struct w_steam_iface *_this)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 21:24:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*__stdcall pfnFunc)(uint32_t, const char *))
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDetailLevel = eDetailLevel,
|
|
|
|
.pfnFunc = pfnFunc,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( ¶ms );
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(struct w_steam_iface *_this, uint32_t nIPv4)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIPv4 = nIPv4,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *fakeIP, SteamNetworkingIdentity *pOutRealIdentity)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.fakeIP = fakeIP,
|
|
|
|
.pOutRealIdentity = pOutRealIdentity,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.eDataType = eDataType,
|
|
|
|
.pArg = pArg,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.eScopeType = eScopeType,
|
|
|
|
.scopeObj = scopeObj,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pResult = pResult,
|
|
|
|
.cbResult = cbResult,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
const char * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, uint32_t *pOutDataType, uint32_t *pOutScope)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eValue = eValue,
|
|
|
|
.pOutDataType = pOutDataType,
|
|
|
|
.pOutScope = pOutScope,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(struct w_steam_iface *_this, uint32_t eCurrent, bool bEnumerateDevVars)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eCurrent = eCurrent,
|
|
|
|
.bEnumerateDevVars = bEnumerateDevVars,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, bool bWithPort)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.addr = addr,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
.bWithPort = bWithPort,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( ¶ms );
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pAddr = pAddr,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.addr = addr,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, uint32_t cbBuf)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.identity = identity,
|
|
|
|
.buf = buf,
|
|
|
|
.cbBuf = cbBuf,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( ¶ms );
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pIdentity = pIdentity,
|
|
|
|
.pszStr = pszStr,
|
|
|
|
};
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 14:34:23 +02:00
|
|
|
cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( ¶ms );
|
|
|
|
return params._ret;
|
2019-05-17 16:33:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_destructor(struct w_steam_iface *_this)
|
2019-05-17 16:33:44 +02:00
|
|
|
{/* never called */}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils004_vtable;
|
2019-05-17 16:33:44 +02:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils004,
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString)
|
|
|
|
VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor)
|
2019-05-17 16:33:44 +02:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *u_iface)
|
2019-05-17 16:33:44 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils004");
|
2019-05-17 16:33:44 +02:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils004_vtable, 26, "SteamNetworkingUtils004");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2019-05-17 16:33:44 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|