level-up/shared/broadcast.ts
Moritz Ruth 3498bbb8ad
All checks were successful
Build / build (push) Successful in 1m20s
Add virtual curtain
2025-04-14 17:37:03 +02:00

7 lines
No EOL
273 B
TypeScript

import type { SceneEvent } from "../backend/scene-types"
export type PlayerBroadcast =
| { type: "keep-alive" }
| { type: "scene-changed"; sceneId: string }
| { type: "scene-event"; event: SceneEvent }
| { type: "virtual-curtain-changed", isOpen: boolean }