Facepunch.Steamworks Wiki

Steamworks.Data.Lobby.SetGameServer

Syntax

void SetGameServer( SteamId steamServer )

Description

[SteamID variant] Allows the owner to set the game server associated with the lobby. Triggers the Steammatchmaking.OnLobbyGameCreated event.

Arguments

SteamId steamServer

Syntax

void SetGameServer( string ip, ushort port )

Description

[IP/Port variant] Allows the owner to set the game server associated with the lobby. Triggers the Steammatchmaking.OnLobbyGameCreated event.

Arguments

string ip
ushort port