clik-engine API
    Preparing search index...

    Interface PredictionCorrection<TState>

    interface PredictionCorrection<TState = unknown> {
        needsCorrection: boolean;
        replayCount: number;
        serverState: TState | null;
    }

    Type Parameters

    • TState = unknown
    Index

    Properties

    needsCorrection: boolean

    Whether correction is needed

    replayCount: number

    Number of inputs to re-simulate

    serverState: TState | null

    The authoritative server state