pub struct ServerProcess {
pub concurrent_executions: i64,
pub launch_path: String,
pub parameters: Option<String>,
}
A set of instructions for launching server processes on each instance in a fleet. Each instruction set identifies the location of the server executable, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration
.
Number of server processes using this configuration to run concurrently on an instance.
Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game
, and for Linux instances /local/game
. A Windows game build with an executable file located at MyGame\latest\server.exe
must have a launch path of "C:\game\MyGame\latest\server.exe
". A Linux game build with an executable file located at MyGame/latest/server.exe
must have a launch path of "/local/game/MyGame/latest/server.exe
".
Optional list of parameters to pass to the server executable on launch.
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.