Class GameyeStartSessionRequest

Namespace
Unity.Multiplayer.Core

What to ask Gameye to start for one match (StartSessionAsync(GameyeStartSessionRequest, CancellationToken)).

public sealed class GameyeStartSessionRequest
Inheritance
GameyeStartSessionRequest
Inherited Members

Constructors

GameyeStartSessionRequest(string, string, string, IReadOnlyList<GameyePortSpec>, IReadOnlyDictionary<string, string>)

Describes a session start request.

public GameyeStartSessionRequest(string imageName, string location, string matchId, IReadOnlyList<GameyePortSpec> ports, IReadOnlyDictionary<string, string> environmentVariables)

Parameters

imageName string
location string
matchId string
ports IReadOnlyList<GameyePortSpec>
environmentVariables IReadOnlyDictionary<string, string>

Properties

EnvironmentVariables

Container environment variables (rendezvous URL/secret and the like).

public IReadOnlyDictionary<string, string> EnvironmentVariables { get; }

Property Value

IReadOnlyDictionary<string, string>

ImageName

The image name from ImageName.

public string ImageName { get; }

Property Value

string

Location

The Gameye location/fleet to start the session in.

public string Location { get; }

Property Value

string

MatchId

The match this session is for, tagged onto the session for Gameye's own logs.

public string MatchId { get; }

Property Value

string

Ports

The ports the container exposes.

public IReadOnlyList<GameyePortSpec> Ports { get; }

Property Value

IReadOnlyList<GameyePortSpec>