Barotrauma Client Doc
Barotrauma.Networking.Endpoint Class Referenceabstract
Inheritance diagram for Barotrauma.Networking.Endpoint:
Barotrauma.Networking.LidgrenEndpoint Barotrauma.Networking.PipeEndpoint Barotrauma.Networking.SteamP2PEndpoint

Public Member Functions

 Endpoint (Address address)
 
abstract override bool Equals (object? obj)
 
abstract override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static Option< EndpointParse (string str)
 
static bool operator== (Endpoint? a, Endpoint? b)
 
static bool operator!= (Endpoint? a, Endpoint? b)
 

Public Attributes

readonly Address Address
 

Properties

abstract string StringRepresentation [get]
 
abstract LocalizedString ServerTypeString [get]
 

Detailed Description

Definition at line 5 of file Endpoint.cs.

Constructor & Destructor Documentation

◆ Endpoint()

Barotrauma.Networking.Endpoint.Endpoint ( Address  address)

Definition at line 13 of file Endpoint.cs.

Member Function Documentation

◆ Equals()

abstract override bool Barotrauma.Networking.Endpoint.Equals ( object?  obj)
pure virtual

◆ GetHashCode()

abstract override int Barotrauma.Networking.Endpoint.GetHashCode ( )
pure virtual

◆ operator!=()

static bool Barotrauma.Networking.Endpoint.operator!= ( Endpoint a,
Endpoint b 
)
static

◆ operator==()

static bool Barotrauma.Networking.Endpoint.operator== ( Endpoint a,
Endpoint b 
)
static

Definition at line 27 of file Endpoint.cs.

◆ Parse()

static Option<Endpoint> Barotrauma.Networking.Endpoint.Parse ( string  str)
static

◆ ToString()

override string Barotrauma.Networking.Endpoint.ToString ( )

Member Data Documentation

◆ Address

readonly Address Barotrauma.Networking.Endpoint.Address

Definition at line 11 of file Endpoint.cs.

Property Documentation

◆ ServerTypeString

abstract LocalizedString Barotrauma.Networking.Endpoint.ServerTypeString
get

Definition at line 9 of file Endpoint.cs.

◆ StringRepresentation

abstract string Barotrauma.Networking.Endpoint.StringRepresentation
get

Definition at line 7 of file Endpoint.cs.