mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
parent
0994d10410
commit
c4bf9eb61c
61 changed files with 207 additions and 737 deletions
|
|
@ -3,10 +3,7 @@ import { AdminPersistence } from '../../persistence';
|
|||
|
||||
export function updateServerMessage(): void {
|
||||
const command = webClient.protobuf.controller.Command_UpdateServerMessage.create();
|
||||
|
||||
const sc = webClient.protobuf.controller.AdminCommand.create({
|
||||
'.Command_UpdateServerMessage.ext': command
|
||||
});
|
||||
const sc = webClient.protobuf.controller.AdminCommand.create({ '.Command_UpdateServerMessage.ext': command });
|
||||
|
||||
webClient.protobuf.sendAdminCommand(sc, (raw) => {
|
||||
const { responseCode } = raw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue