Commit aaf22ab7 authored by chechunchi's avatar chechunchi

format

parent 6fd15a9a
Pipeline #22548 passed with stages
in 13 minutes and 16 seconds
......@@ -36,7 +36,7 @@ const MsgConstructorMap: Map<string, Constructor> = new Map([
["become_target", ygopro.StocGameMessage.MsgBecomeTarget],
["shuffle_deck", ygopro.StocGameMessage.MsgShuffleDeck],
["rock_paper_scissors", ygopro.StocGameMessage.MsgRockPaperScissors],
["swap_grave_deck", ygopro.StocGameMessage.MsgSwapGraveDeck]
["swap_grave_deck", ygopro.StocGameMessage.MsgSwapGraveDeck],
]);
export interface penetrateType {
......
......@@ -47,6 +47,7 @@ import onMsgStart from "./start";
import onMsgSummoned from "./summoned";
import onMsgSummoning from "./summoning";
import onMsgSwap from "./swap";
import onMsgSwapGraveDeck from "./swapGraveDeck";
import onMsgToss from "./toss";
import onUnimplemented from "./unimplemented";
import onMsgUpdateCounter from "./updateCounter";
......@@ -54,7 +55,6 @@ import onMsgUpdateData from "./updateData";
import onMsgUpdateHp from "./updateHp";
import onMsgWait from "./wait";
import onMsgWin from "./win";
import onMsgSwapGraveDeck from "./swapGraveDeck";
const ActiveList = [
"select_idle_cmd",
......
......@@ -2,7 +2,7 @@ import { ygopro } from "@/api";
import { eventbus, Task } from "@/infra";
import { cardStore } from "@/stores";
import MsgSwapGraveDeck = ygopro.StocGameMessage.MsgSwapGraveDeck;
const {DECK, GRAVE} = ygopro.CardZone;
const { DECK, GRAVE } = ygopro.CardZone;
export default async (swapGraveDeck: MsgSwapGraveDeck) => {
const player = swapGraveDeck.player;
......
......@@ -4,7 +4,6 @@
top: 0;
left: 0;
height: 100vh; // FIXME: 100% on safari
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px 35px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment