aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-27 17:53:01 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-27 17:53:01 +0200
commitb6713492c6f571ba9897532f129924f438909a07 (patch)
tree44561d18026ba0bb5ca7a357a6bb007b0637f44e /test-client/protocol.ts
parent5b34f8a894e4214df9efd6d5911b8be2d1c4a8be (diff)
downloadhurrycurry-b6713492c6f571ba9897532f129924f438909a07.tar
hurrycurry-b6713492c6f571ba9897532f129924f438909a07.tar.bz2
hurrycurry-b6713492c6f571ba9897532f129924f438909a07.tar.zst
fade to black while baking
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index 41ab518d..ba6a630c 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -49,6 +49,7 @@ export type PacketC =
| { type: "update_map", tile: Vec2, kind: TileIndex | null, neighbors: [TileIndex | null] } // A map tile was changed
| { type: "communicate", player: PlayerID, message?: Message } // A player wants to communicate something, message is null when cleared
| { type: "score", demands_failed: number, demands_completed: number, } // Supplies information for score OSD
+ | { type: "set_ingame", state: boolean } // Set to false when entering the game or switching maps
| { type: "error", message?: Message } // Your client did something wrong.
export type Message =