Steamworks.SteamMatchmaking.SetLobbyGameServer C# (CSharp) Méthode

SetLobbyGameServer() public static méthode

sets the game server associated with the lobby

usually at this point, the users will join the specified game server

either the IP/Port or the steamID of the game server has to be valid, depending on how you want the clients to be able to connect

public static SetLobbyGameServer ( CSteamID steamIDLobby, uint unGameServerIP, ushort unGameServerPort, CSteamID steamIDGameServer ) : void
steamIDLobby CSteamID
unGameServerIP uint
unGameServerPort ushort
steamIDGameServer CSteamID
Résultat void
		public static void SetLobbyGameServer(CSteamID steamIDLobby, uint unGameServerIP, ushort unGameServerPort, CSteamID steamIDGameServer) {
			InteropHelp.TestIfAvailableClient();
			NativeMethods.ISteamMatchmaking_SetLobbyGameServer(steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer);
		}