QtCraft API C++ classes QML types Handbook

QcSessionEvent::Prediction Struct

struct QcSessionEvent::Prediction

The prediction as the core holds it now, and how far the core is with the session's commands. More...

Public Variables

bool flightWanted
quint64 mirroredApplied
QcPrediction prediction

Detailed Description

Member Variable Documentation

bool Prediction::flightWanted

The wish to fly that goes with the next input (QcClientGameMode::flightWanted).

quint64 Prediction::mirroredApplied

Mirrored commands (QcSessionCommand::isMirrored) the core has applied; the session's own wish to fly and reset of the corrections win while later ones are on their way.

QcPrediction Prediction::prediction

The predicted player.