Networking · type
InputPredictor
How a missing input is guessed. previous is that participant's last confirmed input.
Explained in Networking and rollback.
type InputPredictor = (participant: number, tick: number, previous: Uint8Array, out: Uint8Array) => voidimport type { InputPredictor } from '@driftengine/network';