Proton/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp
2024-02-15 15:53:28 +02:00

360 lines
19 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS ISteamGameServer_SteamGameServer012_InitGameServer( void *args )
{
struct ISteamGameServer_SteamGameServer012_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer012_InitGameServer_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetProduct( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer012_SetProduct_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetProduct( params->pszProduct );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetGameDescription( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameDescription_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetGameDescription( params->pszGameDescription );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetModDir( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer012_SetModDir_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetModDir( params->pszModDir );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetDedicatedServer( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetDedicatedServer( params->bDedicated );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_LogOn( void *args )
{
struct ISteamGameServer_SteamGameServer012_LogOn_params *params = (struct ISteamGameServer_SteamGameServer012_LogOn_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->LogOn( params->pszToken );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_LogOnAnonymous( void *args )
{
struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->LogOnAnonymous( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_LogOff( void *args )
{
struct ISteamGameServer_SteamGameServer012_LogOff_params *params = (struct ISteamGameServer_SteamGameServer012_LogOff_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->LogOff( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_BLoggedOn( void *args )
{
struct ISteamGameServer_SteamGameServer012_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer012_BLoggedOn_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->BLoggedOn( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_BSecure( void *args )
{
struct ISteamGameServer_SteamGameServer012_BSecure_params *params = (struct ISteamGameServer_SteamGameServer012_BSecure_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->BSecure( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetSteamID( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer012_GetSteamID_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
*params->_ret = iface->GetSteamID( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_WasRestartRequested( void *args )
{
struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->WasRestartRequested( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetMaxPlayerCount( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetMaxPlayerCount( params->cPlayersMax );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetBotPlayerCount( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetBotPlayerCount( params->cBotplayers );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetServerName( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer012_SetServerName_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetServerName( params->pszServerName );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetMapName( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer012_SetMapName_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetMapName( params->pszMapName );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetPasswordProtected( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetPasswordProtected( params->bPasswordProtected );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorPort( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetSpectatorPort( params->unSpectatorPort );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorServerName( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetSpectatorServerName( params->pszSpectatorServerName );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_ClearAllKeyValues( void *args )
{
struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->ClearAllKeyValues( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetKeyValue( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer012_SetKeyValue_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetKeyValue( params->pKey, params->pValue );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetGameTags( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameTags_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetGameTags( params->pchGameTags );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetGameData( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameData_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetGameData( params->pchGameData );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetRegion( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer012_SetRegion_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetRegion( params->pszRegion );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( void *args )
{
struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( void *args )
{
struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
*params->_ret = iface->CreateUnauthenticatedUserConnection( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SendUserDisconnect( void *args )
{
struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SendUserDisconnect( params->steamIDUser );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_BUpdateUserData( void *args )
{
struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetAuthSessionTicket( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_BeginAuthSession( void *args )
{
struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_EndAuthSession( void *args )
{
struct ISteamGameServer_SteamGameServer012_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer012_EndAuthSession_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->EndAuthSession( params->steamID );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_CancelAuthTicket( void *args )
{
struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->CancelAuthTicket( params->hAuthTicket );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_UserHasLicenseForApp( void *args )
{
struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_RequestUserGroupStatus( void *args )
{
struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetGameplayStats( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->GetGameplayStats( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetServerReputation( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer012_GetServerReputation_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->GetServerReputation( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetPublicIP( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer012_GetPublicIP_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->GetPublicIP( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_HandleIncomingPacket( void *args )
{
struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( void *args )
{
struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_EnableHeartbeats( void *args )
{
struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params *params = (struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->EnableHeartbeats( params->bActive );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_SetHeartbeatInterval( void *args )
{
struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *params = (struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->SetHeartbeatInterval( params->iHeartbeatInterval );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_ForceHeartbeat( void *args )
{
struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params *params = (struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
iface->ForceHeartbeat( );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_AssociateWithClan( void *args )
{
struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->AssociateWithClan( params->steamIDClan );
return 0;
}
NTSTATUS ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( void *args )
{
struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *)args;
struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side;
params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer );
return 0;
}