Class EdgegapPortMapping

Namespace
Unity.Multiplayer.Core

One port Edgegap mapped on a live deployment.

public sealed class EdgegapPortMapping
Inheritance
EdgegapPortMapping
Inherited Members

Constructors

EdgegapPortMapping(string, int, TransportKind)

Describes a mapped port.

public EdgegapPortMapping(string name, int externalPort, TransportKind transport)

Parameters

name string
externalPort int
transport TransportKind

Properties

ExternalPort

The public port players connect to.

public int ExternalPort { get; }

Property Value

int

Name

The port's name, matching Name.

public string Name { get; }

Property Value

string

Transport

The transport this port speaks.

public TransportKind Transport { get; }

Property Value

TransportKind