diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-07 17:47:49 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-07 17:47:49 +0200 |
commit | 5d3fd99128ea38e0030c4635ed43f52fd8ae621b (patch) | |
tree | 2f4e2f3a6e0d2c5f42861cb40866314e4a1d15fb /test-client | |
parent | b177459b5a8dd8136bc39435f7af29d7f700f1db (diff) | |
download | hurrycurry-5d3fd99128ea38e0030c4635ed43f52fd8ae621b.tar hurrycurry-5d3fd99128ea38e0030c4635ed43f52fd8ae621b.tar.bz2 hurrycurry-5d3fd99128ea38e0030c4635ed43f52fd8ae621b.tar.zst |
send if map is lobby
Diffstat (limited to 'test-client')
-rw-r--r-- | test-client/protocol.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts index ebfd9232..53a53500 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -49,7 +49,7 @@ export type PacketC = | { type: "communicate", player: PlayerID, message?: Message, persist: boolean } // A player wants to communicate something, message is null when cleared | { type: "server_message", text: string } // Text message from the server | { type: "score", points: number, demands_failed: number, demands_completed: number, time_remaining?: number } // Supplies information for score OSD - | { type: "set_ingame", state: boolean } // Set to false when entering the game or switching maps + | { type: "set_ingame", state: boolean, lobby: boolean } // Set to false when entering the game or switching maps | { type: "error", message: string } // Your client did something wrong. export type Message = |