2018-01-18 17:24:05 +01:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2019-01-04 16:58:11 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, 16)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(struct w_steam_iface *_this, int8_t bActive)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bActive = bActive,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(struct w_steam_iface *_this, int32_t iHeartbeatInterval)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iHeartbeatInterval = iHeartbeatInterval,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pData = pData,
|
|
|
|
.cbData = cbData,
|
|
|
|
.srcIP = srcIP,
|
|
|
|
.srcPort = srcPort,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pOut = pOut,
|
|
|
|
.cbMaxOut = cbMaxOut,
|
|
|
|
.pNetAdr = pNetAdr,
|
|
|
|
.pPort = pPort,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(struct w_steam_iface *_this, uint16_t nProtocolVersion, int8_t bDedicatedServer, const char *pRegionName, const char *pProductName, uint16_t nMaxReportedClients, int8_t bPasswordProtected, const char *pGameDescription)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nProtocolVersion = nProtocolVersion,
|
|
|
|
.bDedicatedServer = bDedicatedServer,
|
|
|
|
.pRegionName = pRegionName,
|
|
|
|
.pProductName = pProductName,
|
|
|
|
.nMaxReportedClients = nMaxReportedClients,
|
|
|
|
.bPasswordProtected = bPasswordProtected,
|
|
|
|
.pGameDescription = pGameDescription,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pRegionName, -1);
|
|
|
|
IsBadStringPtrA(pProductName, -1);
|
|
|
|
IsBadStringPtrA(pGameDescription, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pKey = pKey,
|
|
|
|
.pValue = pValue,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pKey, -1);
|
|
|
|
IsBadStringPtrA(pValue, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, ¶ms );
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(struct w_steam_iface *_this, const char *pServerAddress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pServerAddress = pServerAddress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pServerAddress, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(struct w_steam_iface *_this, const char *pServerAddress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pServerAddress = pServerAddress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pServerAddress, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(struct w_steam_iface *_this, int32_t iServer, char *pOut, int32_t outBufferSize)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iServer = iServer,
|
|
|
|
.pOut = pOut,
|
|
|
|
.outBufferSize = outBufferSize,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamMasterServerUpdater_SteamMasterServerUpdater001, 0, ".?AVISteamMasterServerUpdater@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtables)
|
2018-01-18 17:24:05 +01:00
|
|
|
__ASM_VTABLE(winISteamMasterServerUpdater_SteamMasterServerUpdater001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMasterServerUpdater001");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 05:02:39 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable, 14, "SteamMasterServerUpdater001");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
void init_winISteamMasterServerUpdater_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winISteamMasterServerUpdater_SteamMasterServerUpdater001_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|