decodeRoomMessage
decodeRoomMessage(
frame):RoomMessage
Defined in: packages/engine/src/gameplay/replication/protocol.ts:246
The room’s message in frame, text or bytes, or a throw for a frame
that is not one. The fields are trusted past the type: both ends run
this file.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
frame |
RoomFrame |