mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 01:23:55 -07:00
more integration tests
This commit is contained in:
parent
4b5f66d497
commit
decebc25c7
192 changed files with 3090 additions and 1657 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import { create } from '@bufbuild/protobuf';
|
||||
import { Command_GameSay_ext, Command_GameSaySchema, type GameSayParams } from '@app/generated';
|
||||
import { WebClient } from '../../WebClient';
|
||||
|
||||
import { Data } from '@app/types';
|
||||
|
||||
export function gameSay(gameId: number, params: Data.GameSayParams): void {
|
||||
WebClient.instance.protobuf.sendGameCommand(gameId, Data.Command_GameSay_ext, create(Data.Command_GameSaySchema, params));
|
||||
export function gameSay(gameId: number, params: GameSayParams): void {
|
||||
WebClient.instance.protobuf.sendGameCommand(gameId, Command_GameSay_ext, create(Command_GameSaySchema, params));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue