Struct SimulationStepStarting

Struct Documentation

struct SimulationStepStarting

One attempted step after input/view selection, before the game hook.

It owns no borrowed input and does not prove the game update completed.

Public Functions

bool operator==(const SimulationStepStarting&) const = default

Public Members

std::uint64_t context = 0

Checked Context identity.

std::uint64_t session = 0

Admitted session identity.

std::uint64_t step = 0

Checked attempted-step number, not a completed-update count.

double delta_seconds = 0

Selected finite nonnegative simulation seconds for this step.

Simulation::UpdateKind kind = Simulation::UpdateKind::Variable

Variable, fixed or recovery step selected by timing policy.

double dropped_seconds = 0

Finite nonnegative discarded simulation lag reported for this step.

std::uint64_t view_revision = 0

Selected SimulationView revision before this phase.