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 that use this configuration to run concurrently on an instance.
|
ServerProcess.Builder |
launchPath(String launchPath)
The location of the server executable in a custom game build or the name of the Realtime script file that
contains the
Init() function. |
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 the server executable in a custom game build or the name of the Realtime script file that
contains the Init() function. Game builds and Realtime scripts are installed on instances at the
root:
Windows (for 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"
launchPath - The location of the server executable in a custom game build or the name of the Realtime script file
that contains the Init() function. Game builds and Realtime scripts are installed on
instances at the root:
Windows (for 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"
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 that use this configuration to run concurrently on an instance.
concurrentExecutions - The number of server processes that use this configuration to run concurrently on an instance.Copyright © 2020. All rights reserved.