aboutsummaryrefslogtreecommitdiff
path: root/test-client
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-26 16:39:50 +0200
committernokoe <nokoe@mailbox.org>2024-06-26 16:39:50 +0200
commita8d17ba85a46169fa049c70e1a8f53ea97784c90 (patch)
treef84853b18396e510149b0704e7238c1c22b87e98 /test-client
parent5654b69e4c7e0aafe258ad0ab73105722a389def (diff)
parent677b9c898b0fc3faac2aa505cce438a2b2189265 (diff)
downloadhurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar
hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.bz2
hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.zst
Merge branch 'master' of ssh://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'test-client')
-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 9a78f263..41ab518d 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -48,6 +48,7 @@ export type PacketC =
| { type: "set_active", tile: Vec2, progress?: number, warn: boolean } // A tile is doing something. progress goes from 0 to 1, then null when finished
| { 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: "error", message?: Message } // Your client did something wrong.
export type Message =