Config

data class Config(val serverMode: BattleRunner.ServerMode, val intentDiagnosticsEnabled: Boolean, val recordingPath: Path?, val captureServerOutput: Boolean, val botConnectTimeoutMs: Long, val requiredBehaviorVersion: Int? = null)

Immutable configuration produced by Builder.

Constructors

Link copied to clipboard
constructor(serverMode: BattleRunner.ServerMode, intentDiagnosticsEnabled: Boolean, recordingPath: Path?, captureServerOutput: Boolean, botConnectTimeoutMs: Long, requiredBehaviorVersion: Int? = null)

Properties

Link copied to clipboard

Maximum time in milliseconds to wait for all bots to connect before a battle starts. Defaults to 30 000 ms (30 seconds).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Behavior compatibility version the connected server must advertise, or null when the runner accepts any server. Defaults to null (unpinned).

Link copied to clipboard