Skip to content

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

Variable: ResetMessage ​

const ResetMessage: ZodObject<{ count: ZodNumber; type: ZodLiteral<"reset">; }, $strip>

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

The level was reset (any player's resetLevel input), sent to every player once it is done: how many times since the server started. The client keeps the count where the tests read it, so a test knows the reset it asked for has happened.