Skip to content

five-on-it / packages/protocol/src/messages / SpectateRequest

Variable: SpectateRequest ​

const SpectateRequest: ZodObject<{ seat: ZodNumber; type: ZodLiteral<"spectate">; }, $strip>

Defined in: packages/protocol/src/messages.ts:857

A run's player out of it (watching) says whom they watch: a seat of their team's, whose surroundings the server then sends them (their own body is out of the world). A text frame from the client.