clik-engine API
GitHub
Preparing search index...
PredictionCorrection
Interface PredictionCorrection<TState>
interface
PredictionCorrection
<
TState
=
unknown
>
{
needsCorrection
:
boolean
;
replayCount
:
number
;
serverState
:
TState
|
null
;
}
Type Parameters
TState
=
unknown
Index
Properties
needs
Correction
replay
Count
server
State
Properties
needs
Correction
needsCorrection
:
boolean
Whether correction is needed
replay
Count
replayCount
:
number
Number of inputs to re-simulate
server
State
serverState
:
TState
|
null
The authoritative server state
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
needs
Correction
replay
Count
server
State
GitHub
clik-engine API
Loading...
Whether correction is needed