import { create } from '@bufbuild/protobuf'; import webClient from '../../WebClient'; import { Data } from '@app/types'; export function undoDraw(gameId: number): void { webClient.protobuf.sendGameCommand(gameId, Data.Command_UndoDraw_ext, create(Data.Command_UndoDrawSchema)); }