mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
7 lines
324 B
TypeScript
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);
|
|
}
|