AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Connection information for a new game session that is created in response to a start matchmaking request. Once a match is made, the FlexMatch engine creates a new game session for it. This information, including the game session endpoint and player sessions for each player in the original matchmaking request, is added to the matchmaking ticket.
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class GameSessionConnectionInfo
The GameSessionConnectionInfo type exposes the following members
Name | Description | |
---|---|---|
GameSessionConnectionInfo() |
Name | Type | Description | |
---|---|---|---|
DnsName | System.String |
Gets and sets the property DnsName. The DNS identifier assigned to the instance that is running the game session. Values have the following format:
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address. |
|
GameSessionArn | System.String |
Gets and sets the property GameSessionArn. A unique identifier for the game session. Use the game session ID. |
|
IpAddress | System.String |
Gets and sets the property IpAddress. The IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. |
|
MatchedPlayerSessions | System.Collections.Generic.List<Amazon.GameLift.Model.MatchedPlayerSession> |
Gets and sets the property MatchedPlayerSessions. A collection of player session IDs, one for each player ID that was included in the original matchmaking request. |
|
Port | System.Int32 |
Gets and sets the property Port. The port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5