C# Класс Amazon.GameLift.Model.CreateGameSessionRequest

Container for the parameters to the CreateGameSession operation. Creates a multiplayer game session for players. This action creates a game session record and assigns an available server process in the specified fleet to host the game session. A fleet must be in an ACTIVE status before a game session can be created in it.

To create a game session, specify either fleet ID or alias ID, and indicate a maximum number of players to allow in the game session. You can also provide a name and game-specific properties for this game session. If successful, a GameSession object is returned containing session properties, including an IP address. By default, newly created game sessions allow new players to join. Use UpdateGameSession to change the game sessions player session creation policy.

When creating a game session on a fleet with a resource limit creation policy, the request should include a creator ID. If none is provided, GameLift does not evaluate the fleet's resource limit creation policy.

Наследование: AmazonGameLiftRequest
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
IsSetAliasId ( ) : bool
IsSetCreatorId ( ) : bool
IsSetFleetId ( ) : bool
IsSetGameProperties ( ) : bool
IsSetGameSessionId ( ) : bool
IsSetMaximumPlayerSessionCount ( ) : bool
IsSetName ( ) : bool