Skip to content

ClientMessageType

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

Edit: "edit"

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

One prop of one entity’s trait, as the devtools edit it.


Input: "input"

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


Join: "join"

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

The first frame a client sends.


Ping: "ping"

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

A timestamp the room answers with its step, for the client’s estimate of the room’s clock.


Shot: "shot"

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

A shot from one of the world’s weapons.


Walk: "walk"

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

Her hero sent walking to a point, along the room’s navmesh.