Class GameyePortSpec

Namespace
Unity.Multiplayer.Core

One declared port for a Gameye session, matched back by Name in a session's port mapping.

public sealed class GameyePortSpec
Inheritance
GameyePortSpec
Inherited Members

Constructors

GameyePortSpec(string, int, TransportKind)

Declares a port.

public GameyePortSpec(string name, int port, TransportKind transport)

Parameters

name string
port int
transport TransportKind

Properties

Name

The port's name.

public string Name { get; }

Property Value

string

Port

The container's internal port.

public int Port { get; }

Property Value

int

Transport

Udp or WebSocket (carried over TCP on Gameye's side).

public TransportKind Transport { get; }

Property Value

TransportKind