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 Servers 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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
|
Port | System.Nullable<System.Int32> |
Gets and sets the property Port. The port number for the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer