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
imageNamestringlocationstringmatchIdstringportsIReadOnlyList<GameyePortSpec>environmentVariablesIReadOnlyDictionary<string, string>
Properties
EnvironmentVariables
Container environment variables (rendezvous URL/secret and the like).
public IReadOnlyDictionary<string, string> EnvironmentVariables { get; }
Property Value
ImageName
The image name from ImageName.
public string ImageName { get; }
Property Value
Location
The Gameye location/fleet to start the session in.
public string Location { get; }
Property Value
MatchId
The match this session is for, tagged onto the session for Gameye's own logs.
public string MatchId { get; }
Property Value
Ports
The ports the container exposes.
public IReadOnlyList<GameyePortSpec> Ports { get; }