2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2018-01-18 19:24:05 +03:00
|
|
|
#include "steamworks_sdk_105/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_105
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamMatchmakingServers_SteamMatchMakingServers001.h"
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestInternetServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestLANServerList( (AppId_t)params->iApp, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestFriendsServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestFavoritesServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestHistoryServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RequestSpectatorServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerDetails( (EMatchMakingType)params->eType, (int)params->iServer );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->CancelQuery( (EMatchMakingType)params->eType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RefreshQuery( (EMatchMakingType)params->eType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->IsRefreshing( (EMatchMakingType)params->eType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerCount( (EMatchMakingType)params->eType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->RefreshServer( (EMatchMakingType)params->eType, (int)params->iServer );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PingServer( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPingResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PlayerDetails( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPlayersResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->ServerRules( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingRulesResponse *)params->pRequestServersResponse );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
((ISteamMatchmakingServers*)params->linux_side)->CancelServerQuery( (HServerQuery)params->hServerQuery );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|