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
sessionIdstringipstringreadyboolportsIReadOnlyList<GameyePortMapping>
Properties
Ip
The public IP players connect to; null while still starting.
public string Ip { get; }
Property Value
Ports
The mapped ports; empty while still starting.
public IReadOnlyList<GameyePortMapping> Ports { get; }
Property Value
Ready
True once Gameye reports the container running and its ports mapped.
public bool Ready { get; }
Property Value
SessionId
Gameye's session id; pass it back to StopSessionAsync(string, CancellationToken).
public string SessionId { get; }