AWS SDK Version 3 for .NET
API Reference

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.

A set of instructions for launching server processes on each instance in a fleet. Server processes run either an executable in a custom game build or a Realtime Servers script. Server process configurations are part of a fleet's runtime configuration.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.ServerProcess

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class ServerProcess

The ServerProcess type exposes the following members

Constructors

NameDescription
Public Method ServerProcess()

Properties

NameTypeDescription
Public Property ConcurrentExecutions System.Int32

Gets and sets the property ConcurrentExecutions.

The number of server processes using this configuration that run concurrently on each instance.

Public Property LaunchPath System.String

Gets and sets the property LaunchPath.

The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root:

  • Windows (custom game builds only): C:\game. Example: "C:\game\MyGame\server.exe"

  • Linux: /local/game. Examples: "/local/game/MyGame/server.exe" or "/local/game/MyRealtimeScript.js"

Amazon GameLift doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations initSDK() and ProcessReady().

Public Property Parameters System.String

Gets and sets the property Parameters.

An optional list of parameters to pass to the server executable or Realtime script on launch.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5