ManeuverSelectedEvent

data class ManeuverSelectedEvent(val tick: Int, val aircraft: String, val maneuver: String, val targetAltitude: Int? = null, val reason: String) : SimulationEvent(source)

Selected maneuver event connecting a plan to an aircraft-level decision.

Constructors

Link copied to clipboard
constructor(tick: Int, aircraft: String, maneuver: String, targetAltitude: Int? = null, reason: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tick: Int
Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard

Serializes a simulation event as a single JSONL line.

Link copied to clipboard
fun SimulationEvent.toJsonObject(): JsonObject

Converts a simulation event to the JSON object used by the JSONL event stream.