lsteamclient: Wrap parameters in structures.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-27 14:34:23 +02:00 committed by Arkadiusz Hiler
parent e4d75b2fb0
commit 6b21c32d2a
439 changed files with 109952 additions and 43685 deletions

View file

@ -32,100 +32,173 @@ DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(struct w_steam_iface *_this, bool bActive)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params params =
{
.linux_side = _this->u_iface,
.bActive = bActive,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(_this->u_iface, bActive);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( &params );
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(struct w_steam_iface *_this, int iHeartbeatInterval)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params params =
{
.linux_side = _this->u_iface,
.iHeartbeatInterval = iHeartbeatInterval,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(_this->u_iface, iHeartbeatInterval);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( &params );
}
bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort)
{
bool _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params params =
{
.linux_side = _this->u_iface,
.pData = pData,
.cbData = cbData,
.srcIP = srcIP,
.srcPort = srcPort,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( &params );
return params._ret;
}
int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort)
{
int _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params params =
{
.linux_side = _this->u_iface,
.pOut = pOut,
.cbMaxOut = cbMaxOut,
.pNetAdr = pNetAdr,
.pPort = pPort,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( &params );
return params._ret;
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(struct w_steam_iface *_this, unsigned short nProtocolVersion, bool bDedicatedServer, const char *pRegionName, const char *pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char *pGameDescription)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params params =
{
.linux_side = _this->u_iface,
.nProtocolVersion = nProtocolVersion,
.bDedicatedServer = bDedicatedServer,
.pRegionName = pRegionName,
.pProductName = pProductName,
.nMaxReportedClients = nMaxReportedClients,
.bPasswordProtected = bPasswordProtected,
.pGameDescription = pGameDescription,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(_this->u_iface, nProtocolVersion, bDedicatedServer, pRegionName, pProductName, nMaxReportedClients, bPasswordProtected, pGameDescription);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( &params );
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(struct w_steam_iface *_this)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(_this->u_iface);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( &params );
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params params =
{
.linux_side = _this->u_iface,
.pKey = pKey,
.pValue = pValue,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(_this->u_iface, pKey, pValue);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( &params );
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(struct w_steam_iface *_this)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(_this->u_iface);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( &params );
}
bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(struct w_steam_iface *_this)
{
bool _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(_this->u_iface);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( &params );
return params._ret;
}
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(struct w_steam_iface *_this)
{
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(_this->u_iface);
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( &params );
}
bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(struct w_steam_iface *_this, const char *pServerAddress)
{
bool _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params params =
{
.linux_side = _this->u_iface,
.pServerAddress = pServerAddress,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(_this->u_iface, pServerAddress);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( &params );
return params._ret;
}
bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(struct w_steam_iface *_this, const char *pServerAddress)
{
bool _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params params =
{
.linux_side = _this->u_iface,
.pServerAddress = pServerAddress,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(_this->u_iface, pServerAddress);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( &params );
return params._ret;
}
int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(struct w_steam_iface *_this)
{
int _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(_this->u_iface);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( &params );
return params._ret;
}
int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(struct w_steam_iface *_this, int iServer, char *pOut, int outBufferSize)
{
int _ret;
struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params params =
{
.linux_side = _this->u_iface,
.iServer = iServer,
.pOut = pOut,
.outBufferSize = outBufferSize,
};
TRACE("%p\n", _this);
_ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(_this->u_iface, iServer, pOut, outBufferSize);
return _ret;
cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( &params );
return params._ret;
}
extern vtable_ptr winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable;