RoomMessageType
Defined in: packages/engine/src/gameplay/replication/protocol.ts:25
Enumeration Members
Section titled “Enumeration Members”Ack:
"ack"
Defined in: packages/engine/src/gameplay/replication/protocol.ts:31
Sent to each client after each delta: its own, not the shared one.
Delta:
"delta"
Defined in: packages/engine/src/gameplay/replication/protocol.ts:29
Pong:
"pong"
Defined in: packages/engine/src/gameplay/replication/protocol.ts:33
The answer to a ping.
Welcome
Section titled “Welcome”Welcome:
"welcome"
Defined in: packages/engine/src/gameplay/replication/protocol.ts:28
The room’s answer to a join: the hero it spawned for the client and the world as it stands.