Yucom/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp
2024-02-15 15:53:26 +02:00

122 lines
6.6 KiB
C++

#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
#include "steamworks_sdk_158/steam_api.h"
#include "steamworks_sdk_158/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_158
#include "struct_converters.h"
#include "cppISteamGameSearch_SteamMatchGameSearch001.h"
struct cppISteamGameSearch_SteamMatchGameSearch001
{
#ifdef __cplusplus
virtual uint32_t AddGameSearchParams( const char *, const char * ) = 0;
virtual uint32_t SearchForGameWithLobby( CSteamID, int32_t, int32_t ) = 0;
virtual uint32_t SearchForGameSolo( int32_t, int32_t ) = 0;
virtual uint32_t AcceptGame( ) = 0;
virtual uint32_t DeclineGame( ) = 0;
virtual uint32_t RetrieveConnectionDetails( CSteamID, char *, int32_t ) = 0;
virtual uint32_t EndGameSearch( ) = 0;
virtual uint32_t SetGameHostParams( const char *, const char * ) = 0;
virtual uint32_t SetConnectionDetails( const char *, int32_t ) = 0;
virtual uint32_t RequestPlayersForGame( int32_t, int32_t, int32_t ) = 0;
virtual uint32_t HostConfirmGameStart( uint64_t ) = 0;
virtual uint32_t CancelRequestPlayersForGame( ) = 0;
virtual uint32_t SubmitPlayerResult( uint64_t, CSteamID, uint32_t ) = 0;
virtual uint32_t EndGame( uint64_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( struct cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->AddGameSearchParams( params->pchKeyToFind, params->pchValuesToFind );
}
void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->SearchForGameWithLobby( params->steamIDLobby, params->nPlayerMin, params->nPlayerMax );
}
void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->SearchForGameSolo( params->nPlayerMin, params->nPlayerMax );
}
void cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame( struct cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->AcceptGame( );
}
void cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame( struct cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->DeclineGame( );
}
void cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->RetrieveConnectionDetails( params->steamIDHost, params->pchConnectionDetails, params->cubConnectionDetails );
}
void cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->EndGameSearch( );
}
void cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( struct cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->SetGameHostParams( params->pchKey, params->pchValue );
}
void cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->SetConnectionDetails( params->pchConnectionDetails, params->cubConnectionDetails );
}
void cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->RequestPlayersForGame( params->nPlayerMin, params->nPlayerMax, params->nMaxTeamSize );
}
void cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( struct cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->HostConfirmGameStart( params->ullUniqueGameID );
}
void cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->CancelRequestPlayersForGame( );
}
void cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( struct cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->SubmitPlayerResult( params->ullUniqueGameID, params->steamIDPlayer, params->EPlayerResult );
}
void cppISteamGameSearch_SteamMatchGameSearch001_EndGame( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGame_params *params )
{
struct cppISteamGameSearch_SteamMatchGameSearch001 *iface = (struct cppISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side;
params->_ret = iface->EndGame( params->ullUniqueGameID );
}
#ifdef __cplusplus
}
#endif