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

gameSessionId string
status string
ipAddress string
port int
dnsName string

Properties

DnsName

The fleet instance's DNS name, when GameLift reports one. May be null.

public string DnsName { get; }

Property Value

string

GameSessionId

public string GameSessionId { get; }

Property Value

string

IpAddress

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

public string IpAddress { get; }

Property Value

string

Port

The port players connect to; 0 while still activating.

public int Port { get; }

Property Value

int

Status

ACTIVATING, ACTIVE, ERROR, TERMINATING or TERMINATED.

public string Status { get; }

Property Value

string