8 public EosInterface.ProductUserId
ProductUserId =>
new EosInterface.ProductUserId((Address as EosP2PAddress)!.EosStringRepresentation);
10 public EosP2PEndpoint(EosInterface.ProductUserId puid) : this(new EosP2PAddress(puid.Value)) { }
16 public override LocalizedString
ServerTypeString {
get; } = TextManager.Get(
"PlayerHostedServer");
21 public override bool Equals(
object? obj)
25 public new static Option<EosP2PEndpoint>
Parse(
string endpointStr)
26 => EosP2PAddress.Parse(endpointStr).Select(eosAddress =>
new EosP2PEndpoint(eosAddress));
28 public const string SocketName =
"Barotrauma.EosP2PSocket";
override bool Equals(object? obj)
override P2PConnection MakeConnectionFromEndpoint()
override int GetHashCode()
EosInterface.ProductUserId ProductUserId
EosP2PEndpoint(EosInterface.ProductUserId puid)
override string StringRepresentation
EosP2PEndpoint(EosP2PAddress address)
static new Option< EosP2PEndpoint > Parse(string endpointStr)
override LocalizedString ServerTypeString