public static interface ServerProcess.Builder extends SdkPojo, CopyableBuilder<ServerProcess.Builder,ServerProcess>
| Modifier and Type | Method and Description |
|---|---|
ServerProcess.Builder |
concurrentExecutions(Integer concurrentExecutions)
The number of server processes using this configuration that run concurrently on each instance.
|
ServerProcess.Builder |
launchPath(String launchPath)
The location of a game build executable or Realtime script.
|
ServerProcess.Builder |
parameters(String parameters)
An optional list of parameters to pass to the server executable or Realtime script on launch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServerProcess.Builder launchPath(String 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().
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().
ServerProcess.Builder parameters(String parameters)
An optional list of parameters to pass to the server executable or Realtime script on launch.
parameters - An optional list of parameters to pass to the server executable or Realtime script on launch.ServerProcess.Builder concurrentExecutions(Integer concurrentExecutions)
The number of server processes using this configuration that run concurrently on each instance.
concurrentExecutions - The number of server processes using this configuration that run concurrently on each instance.Copyright © 2023. All rights reserved.