public static interface ServerProcess.Builder extends SdkPojo, CopyableBuilder<ServerProcess.Builder,ServerProcess>
| Modifier and Type | Method and Description |
|---|---|
ServerProcess.Builder |
concurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
|
ServerProcess.Builder |
launchPath(String launchPath)
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)
Optional list of parameters to pass to the server executable or Realtime script on launch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServerProcess.Builder launchPath(String launchPath)
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 - 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)
Optional list of parameters to pass to the server executable or Realtime script on launch.
parameters - Optional list of parameters to pass to the server executable or Realtime script on launch.ServerProcess.Builder concurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
concurrentExecutions - Number of server processes using this configuration to run concurrently on an instance.Copyright © 2019. All rights reserved.