summaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
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 940c8cdc..376ebd58 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -58,6 +58,7 @@ export type PacketC =
| { type: "server_message", text: string } // Text message from the server
| { type: "score" } & Score // Supplies information for score OSD
| { type: "menu" } & Menu // Open a menu on the client-side
+ | { type: "movement_sync" } // Your movement is difference on the server, you should update your position from a `position` packet
| { 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.