mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-31 00:55:37 +03:00
838d14d66e
CW-Bug-Id: #22729
120 lines
6.4 KiB
C++
120 lines
6.4 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
|
|
#if 0
|
|
#pragma makedep unix
|
|
#endif
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_LogOn( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_LogOn_params *params = (struct ISteamGameServer_SteamGameServer004_LogOn_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->LogOn( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_LogOff( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_LogOff_params *params = (struct ISteamGameServer_SteamGameServer004_LogOff_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->LogOff( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BLoggedOn( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
params->_ret = iface->BLoggedOn( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BSecure( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_BSecure_params *params = (struct ISteamGameServer_SteamGameServer004_BSecure_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
params->_ret = iface->BSecure( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_GetSteamID( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer004_GetSteamID_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
*params->_ret = iface->GetSteamID( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->SendUserConnectAndAuthenticate( params->steamIDUser, params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
*params->_ret = iface->CreateUnauthenticatedUserConnection( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SendUserDisconnect( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->SendUserDisconnect( params->steamIDUser );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BUpdateUserData( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BSetServerType( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer004_BSetServerType_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
params->_ret = iface->BSetServerType( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_UpdateServerStatus( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_UpdateSpectatorPort( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->UpdateSpectatorPort( params->unSpectatorPort );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SetGameType( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer004_SetGameType_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
iface->SetGameType( params->pchGameType );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( void *args )
|
|
{
|
|
struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *)args;
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
|
params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName );
|
|
return 0;
|
|
}
|
|
|