wip
This commit is contained in:
parent
61b49ab370
commit
94d263993d
5 changed files with 32 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ import { Socket } from 'socket.io';
|
|||
export type UpdateInfo = {
|
||||
inQueue: number,
|
||||
totalUser: number,
|
||||
totalGames : number
|
||||
}
|
||||
|
||||
export type PaddleData = {
|
||||
|
|
|
|||
|
|
@ -159,6 +159,7 @@ class StateI {
|
|||
socket.emit('updateInformation', {
|
||||
inQueue: this.queue.size,
|
||||
totalUser: this.users.size,
|
||||
totalGames: this.games.size,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue