Client LuaCsForBarotrauma
P2PEndpoint.cs
1
#nullable enable
2
namespace
Barotrauma.Networking
;
3
4
abstract
class
P2PEndpoint
: Endpoint
5
{
6
protected
P2PEndpoint
(P2PAddress address) : base(address) { }
7
8
public
abstract
P2PConnection
MakeConnectionFromEndpoint
();
9
10
public
new
static
Option<P2PEndpoint>
Parse
(
string
str)
11
=> Endpoint.Parse(str).Bind(ep => ep is
P2PEndpoint
pep ? Option.Some(pep) : Option.None);
12
}
P2PConnection
Definition:
P2PConnection.cs:6
P2PEndpoint
Definition:
P2PEndpoint.cs:5
P2PEndpoint.MakeConnectionFromEndpoint
abstract P2PConnection MakeConnectionFromEndpoint()
P2PEndpoint.P2PEndpoint
P2PEndpoint(P2PAddress address)
Definition:
P2PEndpoint.cs:6
P2PEndpoint.Parse
static new Option< P2PEndpoint > Parse(string str)
Barotrauma.Networking
Definition:
LuaBarotraumaAdditions.cs:9
Barotrauma
BarotraumaShared
SharedSource
Networking
Primitives
Endpoint
P2PEndpoint.cs
Generated by
1.9.1