2019-05-17 17:27:59 +02:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2021-11-11 15:49:12 +01:00
|
|
|
#include "steamworks_sdk_153_preview/steam_api.h"
|
|
|
|
#include "steamworks_sdk_153_preview/steamnetworkingtypes.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-05-17 17:27:59 +02:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2021-11-11 15:49:12 +01:00
|
|
|
#define SDKVER_153_preview
|
2019-05-17 17:27:59 +02:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamGameSearch_SteamMatchGameSearch001.h"
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *linux_side, const char * pchKeyToFind, const char * pchValuesToFind)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->AddGameSearchParams((const char *)pchKeyToFind, (const char *)pchValuesToFind);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(void *linux_side, CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->SearchForGameWithLobby((CSteamID)steamIDLobby, (int)nPlayerMin, (int)nPlayerMax);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(void *linux_side, int nPlayerMin, int nPlayerMax)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->SearchForGameSolo((int)nPlayerMin, (int)nPlayerMax);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->AcceptGame();
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->DeclineGame();
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(void *linux_side, CSteamID steamIDHost, char * pchConnectionDetails, int cubConnectionDetails)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->RetrieveConnectionDetails((CSteamID)steamIDHost, (char *)pchConnectionDetails, (int)cubConnectionDetails);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->EndGameSearch();
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(void *linux_side, const char * pchKey, const char * pchValue)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->SetGameHostParams((const char *)pchKey, (const char *)pchValue);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(void *linux_side, const char * pchConnectionDetails, int cubConnectionDetails)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->SetConnectionDetails((const char *)pchConnectionDetails, (int)cubConnectionDetails);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(void *linux_side, int nPlayerMin, int nPlayerMax, int nMaxTeamSize)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->RequestPlayersForGame((int)nPlayerMin, (int)nPlayerMax, (int)nMaxTeamSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(void *linux_side, uint64 ullUniqueGameID)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->HostConfirmGameStart((uint64)ullUniqueGameID);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->CancelRequestPlayersForGame();
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(void *linux_side, uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->SubmitPlayerResult((uint64)ullUniqueGameID, (CSteamID)steamIDPlayer, (EPlayerResult_t)EPlayerResult);
|
|
|
|
}
|
|
|
|
|
|
|
|
EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGame(void *linux_side, uint64 ullUniqueGameID)
|
|
|
|
{
|
|
|
|
return ((ISteamGameSearch*)linux_side)->EndGame((uint64)ullUniqueGameID);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|