mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
more integration tests
This commit is contained in:
parent
4b5f66d497
commit
decebc25c7
192 changed files with 3090 additions and 1657 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import type { Data, Enriched } from '@app/types';
|
||||
import type { Event_CreateCounter } from '@app/generated';
|
||||
import type { GameEventMeta } from '../../types';
|
||||
import { WebClient } from '../../WebClient';
|
||||
|
||||
export function createCounter(data: Data.Event_CreateCounter, meta: Enriched.GameEventMeta): void {
|
||||
export function createCounter(data: Event_CreateCounter, meta: GameEventMeta): void {
|
||||
WebClient.instance.response.game.counterCreated(meta.gameId, meta.playerId, data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue