UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

12 lines (10 loc) 470 B
import type { Game, GameType } from '../../game'; export interface SocketWebAppClientToServerEventsParams { 'karts:authenticate': { authToken: string }; 'karts:list': undefined; 'karts:tracking:subscribe': { kartGuid: string }; 'karts:tracking:unsubscribe': { kartGuid: string }; 'game-changed:subscribe': { gameId: Game['id']; gameType: GameType }; 'game-changed:unsubscribe': { gameId: Game['id']; gameType: GameType }; 'game-tracks:list': undefined; }