Class GameLiftGameSession
- Namespace
- Unity.Multiplayer.Core
A GameLift game session, as reported by CreateGameSession/DescribeGameSessions.
public sealed class GameLiftGameSession
- Inheritance
-
GameLiftGameSession
- Inherited Members
Constructors
GameLiftGameSession(string, string, string, int, string)
Describes a game session.
public GameLiftGameSession(string gameSessionId, string status, string ipAddress, int port, string dnsName)
Parameters
Properties
DnsName
The fleet instance's DNS name, when GameLift reports one. May be null.
public string DnsName { get; }
Property Value
GameSessionId
GameLift's id for this session; pass it back to DescribeGameSessionAsync(string, CancellationToken) and CreatePlayerSessionAsync(string, string, string, CancellationToken).
public string GameSessionId { get; }
Property Value
IpAddress
The public IP players connect to; null while still activating.
public string IpAddress { get; }
Property Value
Port
The port players connect to; 0 while still activating.
public int Port { get; }
Property Value
Status
ACTIVATING, ACTIVE, ERROR, TERMINATING or TERMINATED.
public string Status { get; }