mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
12 lines
385 B
TypeScript
12 lines
385 B
TypeScript
import { create } from '@bufbuild/protobuf';
|
|
import webClient from '../../WebClient';
|
|
|
|
import { Data } from '@app/types';
|
|
|
|
export function changeZoneProperties(gameId: number, params: Data.ChangeZonePropertiesParams): void {
|
|
webClient.protobuf.sendGameCommand(
|
|
gameId,
|
|
Data.Command_ChangeZoneProperties_ext,
|
|
create(Data.Command_ChangeZonePropertiesSchema, params)
|
|
);
|
|
}
|