Cockatrice/webclient/src/websocket/commands/game/undoDraw.ts
2026-04-16 12:40:47 -05:00

7 lines
330 B
TypeScript

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