Barotrauma Client Doc
Barotrauma.ConnectCommand Struct Reference

Classes

struct  NameAndEndpoint
 

Public Member Functions

 ConnectCommand (string serverName, Endpoint endpoint)
 
 ConnectCommand (ulong lobbyId)
 

Public Attributes

readonly Either< NameAndEndpoint, ulong > EndpointOrLobby
 

Detailed Description

Definition at line 6 of file ConnectCommand.cs.

Constructor & Destructor Documentation

◆ ConnectCommand() [1/2]

Barotrauma.ConnectCommand.ConnectCommand ( string  serverName,
Endpoint  endpoint 
)

Definition at line 22 of file ConnectCommand.cs.

◆ ConnectCommand() [2/2]

Barotrauma.ConnectCommand.ConnectCommand ( ulong  lobbyId)

Definition at line 27 of file ConnectCommand.cs.

Member Data Documentation

◆ EndpointOrLobby

readonly Either<NameAndEndpoint, ulong> Barotrauma.ConnectCommand.EndpointOrLobby

Definition at line 20 of file ConnectCommand.cs.