Cockatrice/webclient/src/websocket/events/game/attachCard.ts
2026-04-14 15:14:43 -05:00

7 lines
324 B
TypeScript

import type { Event_AttachCard } from 'generated/proto/event_attach_card_pb';
import type { GameEventMeta } from 'types';
import { GamePersistence } from '../../persistence';
export function attachCard(data: Event_AttachCard, meta: GameEventMeta): void {
GamePersistence.cardAttached(meta.gameId, meta.playerId, data);
}