lsteamclient: Introduce new Struct generator class.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-20 17:27:42 +02:00 committed by Arkadiusz Hiler
parent f8cb502eea
commit f835c3ab66
4 changed files with 236 additions and 78 deletions

View file

@ -1409,7 +1409,7 @@ uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_Connect
struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params params =
{
.linux_side = _this->u_iface,
.pSignaling = pSignaling,
.pSignaling = create_LinuxISteamNetworkingConnectionCustomSignaling(pSignaling, "winISteamNetworkingSockets_SteamNetworkingSockets006"),
.pPeerIdentity = pPeerIdentity,
.nOptions = nOptions,
.pOptions = pOptions,
@ -1426,7 +1426,7 @@ bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2P
.linux_side = _this->u_iface,
.pMsg = pMsg,
.cbMsg = cbMsg,
.pContext = pContext,
.pContext = create_LinuxISteamNetworkingCustomSignalingRecvContext(pContext, "winISteamNetworkingSockets_SteamNetworkingSockets006"),
};
TRACE("%p\n", _this);
cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( &params );
@ -2000,7 +2000,7 @@ uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_Connect
struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params params =
{
.linux_side = _this->u_iface,
.pSignaling = pSignaling,
.pSignaling = create_LinuxISteamNetworkingConnectionCustomSignaling(pSignaling, "winISteamNetworkingSockets_SteamNetworkingSockets008"),
.pPeerIdentity = pPeerIdentity,
.nOptions = nOptions,
.pOptions = pOptions,
@ -2017,7 +2017,7 @@ bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2P
.linux_side = _this->u_iface,
.pMsg = pMsg,
.cbMsg = cbMsg,
.pContext = pContext,
.pContext = create_LinuxISteamNetworkingCustomSignalingRecvContext(pContext, "winISteamNetworkingSockets_SteamNetworkingSockets008"),
};
TRACE("%p\n", _this);
cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( &params );