ServerProcess class

A set of instructions for launching server processes on each instance in a fleet. Server processes run either a custom game build executable or a Realtime Servers script. Each instruction set identifies the location of the custom game build executable or Realtime launch script, 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 .

Constructors

ServerProcess({required int concurrentExecutions, required String launchPath, String? parameters})
ServerProcess.fromJson(Map<String, dynamic> json)
factory

Properties

concurrentExecutions int
The number of server processes that use this configuration to run concurrently on an instance.
final
hashCode int
The hash code for this object.
no setterinherited
launchPath String
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:
final
parameters String?
An optional list of parameters to pass to the server executable or Realtime script on launch.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited