diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-30 16:52:41 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-30 19:35:02 +0100 |
| commit | d861319090fa6378aabf4fd102566083b915c1a5 (patch) | |
| tree | 2c86887cb3c2dcbb0a04df3619ffdae451841d14 /test-client/protocol.ts | |
| parent | 3f81613f752befe2a54e5d3cff4c856c3adb6e26 (diff) | |
| download | hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar.bz2 hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar.zst | |
Add disconnect reasons
Diffstat (limited to 'test-client/protocol.ts')
| -rw-r--r-- | test-client/protocol.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts index 609a4518..16c1fb98 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -75,6 +75,7 @@ export type PacketC = | { type: "set_ingame", state: boolean, lobby: boolean } // Set to false when entering the game or switching maps | { type: "pause", state: boolean } // Set game paused so clients dont increment timers | { type: "debug" } & DebugEvent // Set game paused so clients dont increment timers + | { type: "disconnect", reason: Message } export interface Character { color: number, |