Skip to content

InputMessage

Defined in: packages/engine/src/gameplay/replication/protocol.ts:110

One move: a hero’s input for stepsPerMove steps, as the dump writes a StepInput, with the intent as its two numbers.

Property Type Description
heading number -
intent [number, number] -
jump? boolean Whether the move’s first step jumps her; left out for none.
sequence number The move’s number, rising through a connection: from 1 on a page’s first, and on from its last move on a rejoin. The room acknowledges the last it applied after each delta.
steering boolean -
type Input -