Skip to content

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

Variable: StealthMessage ​

const StealthMessage: ZodObject<{ alert: ZodEnum<{ alert: "alert"; caution: "caution"; normal: "normal"; search: "search"; suspicious: "suspicious"; }>; type: ZodLiteral<"stealth">; visibility: ZodEnum<{ hidden: "hidden"; seen: "seen"; }>; }, $strip>

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

One player's stealth (GAME_DESIGN §8), sent when it changes: whether a guard or a camera sees them now (seen) or nobody does (hidden), and the room's alert phase (the highest of its guards': normal, caution, suspicious, search, alert).