2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_InitGameServer( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer011_InitGameServer_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetProduct( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer011_SetProduct_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetProduct( params->pszProduct );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetGameDescription( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameDescription_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetGameDescription( params->pszGameDescription );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetModDir( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer011_SetModDir_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetModDir( params->pszModDir );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetDedicatedServer( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetDedicatedServer( params->bDedicated );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_LogOn( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_LogOn_params *params = (struct ISteamGameServer_SteamGameServer011_LogOn_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->LogOn( params->pszAccountName, params->pszPassword );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_LogOnAnonymous( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->LogOnAnonymous( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_LogOff( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_LogOff_params *params = (struct ISteamGameServer_SteamGameServer011_LogOff_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->LogOff( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_BLoggedOn( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer011_BLoggedOn_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BLoggedOn( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_BSecure( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_BSecure_params *params = (struct ISteamGameServer_SteamGameServer011_BSecure_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BSecure( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetSteamID( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer011_GetSteamID_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->GetSteamID( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_WasRestartRequested( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->WasRestartRequested( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetMaxPlayerCount( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetMaxPlayerCount( params->cPlayersMax );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetBotPlayerCount( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetBotPlayerCount( params->cBotplayers );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetServerName( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer011_SetServerName_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetServerName( params->pszServerName );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetMapName( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer011_SetMapName_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetMapName( params->pszMapName );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetPasswordProtected( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetPasswordProtected( params->bPasswordProtected );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorPort( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetSpectatorPort( params->unSpectatorPort );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorServerName( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetSpectatorServerName( params->pszSpectatorServerName );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_ClearAllKeyValues( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->ClearAllKeyValues( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetKeyValue( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer011_SetKeyValue_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetKeyValue( params->pKey, params->pValue );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetGameTags( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameTags_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetGameTags( params->pchGameTags );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetGameData( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameData_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetGameData( params->pchGameData );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetRegion( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer011_SetRegion_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetRegion( params->pszRegion );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->CreateUnauthenticatedUserConnection( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SendUserDisconnect( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SendUserDisconnect( params->steamIDUser );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_BUpdateUserData( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetAuthSessionTicket( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_BeginAuthSession( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_EndAuthSession( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer011_EndAuthSession_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->EndAuthSession( params->steamID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_CancelAuthTicket( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->CancelAuthTicket( params->hAuthTicket );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_UserHasLicenseForApp( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_RequestUserGroupStatus( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetGameplayStats( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->GetGameplayStats( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetServerReputation( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer011_GetServerReputation_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetServerReputation( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetPublicIP( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer011_GetPublicIP_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetPublicIP( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_HandleIncomingPacket( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_EnableHeartbeats( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params *params = (struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->EnableHeartbeats( params->bActive );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_SetHeartbeatInterval( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *params = (struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetHeartbeatInterval( params->iHeartbeatInterval );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_ForceHeartbeat( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params *params = (struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->ForceHeartbeat( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_AssociateWithClan( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->AssociateWithClan( params->steamIDClan );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( void *args )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|