Class GameyeSession

Namespace
Unity.Multiplayer.Core

A live (or still-starting) Gameye session.

public sealed class GameyeSession
Inheritance
GameyeSession
Inherited Members

Constructors

GameyeSession(string, string, bool, IReadOnlyList<GameyePortMapping>)

Describes a session.

public GameyeSession(string sessionId, string ip, bool ready, IReadOnlyList<GameyePortMapping> ports)

Parameters

sessionId string
ip string
ready bool
ports IReadOnlyList<GameyePortMapping>

Properties

Ip

The public IP players connect to; null while still starting.

public string Ip { get; }

Property Value

string

Ports

The mapped ports; empty while still starting.

public IReadOnlyList<GameyePortMapping> Ports { get; }

Property Value

IReadOnlyList<GameyePortMapping>

Ready

True once Gameye reports the container running and its ports mapped.

public bool Ready { get; }

Property Value

bool

SessionId

Gameye's session id; pass it back to StopSessionAsync(string, CancellationToken).

public string SessionId { get; }

Property Value

string