Client LuaCsForBarotrauma
EosP2PEndpoint Class Reference
Inheritance diagram for EosP2PEndpoint:
P2PEndpoint

Public Member Functions

 EosP2PEndpoint (EosInterface.ProductUserId puid)
 
 EosP2PEndpoint (EosP2PAddress address)
 
override int GetHashCode ()
 
override bool Equals (object? obj)
 
override P2PConnection MakeConnectionFromEndpoint ()
 

Static Public Member Functions

static new Option< EosP2PEndpointParse (string endpointStr)
 
- Static Public Member Functions inherited from P2PEndpoint
static new Option< P2PEndpointParse (string str)
 

Static Public Attributes

const string SocketName = "Barotrauma.EosP2PSocket"
 

Properties

EosInterface.ProductUserId ProductUserId [get]
 
override string StringRepresentation [get]
 
override LocalizedString ServerTypeString = TextManager.Get("PlayerHostedServer") [get]
 

Additional Inherited Members

- Protected Member Functions inherited from P2PEndpoint
 P2PEndpoint (P2PAddress address)
 

Detailed Description

Definition at line 6 of file EosP2PEndpoint.cs.

Constructor & Destructor Documentation

◆ EosP2PEndpoint() [1/2]

EosP2PEndpoint.EosP2PEndpoint ( EosInterface.ProductUserId  puid)

Definition at line 10 of file EosP2PEndpoint.cs.

◆ EosP2PEndpoint() [2/2]

EosP2PEndpoint.EosP2PEndpoint ( EosP2PAddress  address)

Definition at line 12 of file EosP2PEndpoint.cs.

Member Function Documentation

◆ Equals()

override bool EosP2PEndpoint.Equals ( object?  obj)

◆ GetHashCode()

override int EosP2PEndpoint.GetHashCode ( )

◆ MakeConnectionFromEndpoint()

override P2PConnection EosP2PEndpoint.MakeConnectionFromEndpoint ( )
virtual

Implements P2PEndpoint.

◆ Parse()

static new Option<EosP2PEndpoint> EosP2PEndpoint.Parse ( string  endpointStr)
static

Member Data Documentation

◆ SocketName

const string EosP2PEndpoint.SocketName = "Barotrauma.EosP2PSocket"
static

Definition at line 28 of file EosP2PEndpoint.cs.

Property Documentation

◆ ProductUserId

EosInterface.ProductUserId EosP2PEndpoint.ProductUserId
get

Definition at line 8 of file EosP2PEndpoint.cs.

◆ ServerTypeString

override LocalizedString EosP2PEndpoint.ServerTypeString = TextManager.Get("PlayerHostedServer")
get

Definition at line 16 of file EosP2PEndpoint.cs.

◆ StringRepresentation

override string EosP2PEndpoint.StringRepresentation
get

Definition at line 14 of file EosP2PEndpoint.cs.