fix:local, fix:timer, fix:evt rdyEnd

This commit is contained in:
bgoulard 2026-01-06 16:10:57 +01:00 committed by Nigel
parent b5c80d649e
commit adb89aecbe
5 changed files with 27 additions and 14 deletions

View file

@ -45,6 +45,7 @@ export interface ClientToServer {
export interface ServerToClient {
forceDisconnect: (reason: string) => void;
queueEvent: (msg: 'registered' | 'unregistered') => void;
rdyEnd:() => void,
updateInformation: (info: UpdateInfo) => void,
newGame: (initState: GameUpdate) => void, // <- consider this the gameProc eg not start of game but wait for client to "ready up"
gameUpdate: (state: GameUpdate) => void,