diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-17 02:25:55 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-17 02:25:55 +0200 |
commit | b8f7115ef39ff8e855f3452e087241f974745438 (patch) | |
tree | f910caf244338c0e23bd6cdb31254bda8feb9ce9 /test-client/protocol.ts | |
parent | b65849bce3fe8ff8d6baebf29728868d4f164827 (diff) | |
download | hurrycurry-b8f7115ef39ff8e855f3452e087241f974745438.tar hurrycurry-b8f7115ef39ff8e855f3452e087241f974745438.tar.bz2 hurrycurry-b8f7115ef39ff8e855f3452e087241f974745438.tar.zst |
prime clients and tile rendering
Diffstat (limited to 'test-client/protocol.ts')
-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 3b61ce94..717383d4 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -12,7 +12,7 @@ export type PacketS = export type PacketC = { joined: { id: ID } } - | { add_player: { id: ID, name: string } } + | { add_player: { id: ID, name: string, hand?: [number, Item] } } | { remove_player: { id: ID } } | { position: { player: ID, pos: Vec2, rot: number } } | { take_item: { item: ID, player: ID } } |