2023-09-30 14:02:30 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-23 23:44:45 +02:00
|
|
|
|
2023-10-03 11:04:33 +02:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_LogOn( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_LogOn_params *params = (struct ISteamGameServer_SteamGameServer004_LogOn_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->LogOn( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_LogOff( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_LogOff_params *params = (struct ISteamGameServer_SteamGameServer004_LogOff_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->LogOff( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BLoggedOn( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BLoggedOn( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BSecure( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_BSecure_params *params = (struct ISteamGameServer_SteamGameServer004_BSecure_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BSecure( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_GetSteamID( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer004_GetSteamID_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetSteamID( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SendUserConnectAndAuthenticate( params->steamIDUser, params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->CreateUnauthenticatedUserConnection( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SendUserDisconnect( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SendUserDisconnect( params->steamIDUser );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BUpdateUserData( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BSetServerType( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer004_BSetServerType_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BSetServerType( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_UpdateServerStatus( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_UpdateSpectatorPort( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->UpdateSpectatorPort( params->unSpectatorPort );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_SetGameType( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer004_SetGameType_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SetGameType( params->pchGameType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|