Facepunch.Steamworks Wiki

Steamworks.Data.Lobby.GetGameServer

Syntax

bool GetGameServer( uint ip, ushort port, SteamId serverId )

Description

Gets the details of the lobby's game server, if set. Returns true if the lobby is valid and has a server set, otherwise returns false.

Arguments

uint ip
ushort port
SteamId serverId

Returns

bool