Add client leaving host notification

This commit is contained in:
Joey Yakimowich-Payne 2026-01-19 15:46:17 -07:00
commit 3c54a0f4d9
No known key found for this signature in database
GPG key ID: DDF6AF5B21B407D4
3 changed files with 164 additions and 0 deletions

View file

@ -229,4 +229,5 @@ export type NetworkMessage =
| { type: 'ADVANCE'; payload: { action: 'START' | 'NEXT' | 'SCOREBOARD' } }
| { type: 'KICK'; payload: { playerId: string } }
| { type: 'KICKED'; payload: { reason?: string } }
| { type: 'LEAVE'; payload: {} }
| { type: 'PLAYER_LEFT'; payload: { playerId: string } };