This commit is contained in:
bgoulard 2026-01-05 17:11:23 +01:00 committed by Maix0
parent 61b49ab370
commit 94d263993d
5 changed files with 32 additions and 3 deletions

View file

@ -3,6 +3,7 @@ import { Socket } from 'socket.io';
export type UpdateInfo = {
inQueue: number,
totalUser: number,
totalGames : number
}
export type PaddleData = {

View file

@ -159,6 +159,7 @@ class StateI {
socket.emit('updateInformation', {
inQueue: this.queue.size,
totalUser: this.users.size,
totalGames: this.games.size,
});
}