Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos
Commits
f8d49466
Commit
f8d49466
authored
May 26, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update service
parent
4ca65a8f
Pipeline
#21856
passed with stages
in 13 minutes and 52 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.json
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.json
+1
-1
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
+1
-1
src/service/duel/confirmCards.ts
src/service/duel/confirmCards.ts
+2
-4
src/service/duel/gameMsg.ts
src/service/duel/gameMsg.ts
+3
-3
No files found.
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.json
View file @
f8d49466
...
...
@@ -134,7 +134,7 @@
]
},
"30"
:
{
"protoType"
:
"confirm_
desktop
"
,
"protoType"
:
"confirm_
cards
"
,
"fields"
:
[
{
"fieldName"
:
"player"
,
...
...
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
View file @
f8d49466
...
...
@@ -33,7 +33,7 @@ const MsgConstructorMap: Map<string, Constructor> = new Map([
[
"
chain_solved
"
,
ygopro
.
StocGameMessage
.
MsgChainSolved
],
[
"
chain_end
"
,
ygopro
.
StocGameMessage
.
MsgChainEnd
],
[
"
lp_update
"
,
ygopro
.
StocGameMessage
.
MsgLpUpdate
],
[
"
confirm_
desktop
"
,
ygopro
.
StocGameMessage
.
MsgConfirmDeskTop
],
[
"
confirm_
cards
"
,
ygopro
.
StocGameMessage
.
MsgConfirmCards
],
]);
export
interface
penetrateType
{
...
...
src/service/duel/confirm
DeskTop
.ts
→
src/service/duel/confirm
Cards
.ts
View file @
f8d49466
...
...
@@ -2,10 +2,8 @@ import { fetchCard, ygopro } from "@/api";
import
{
sleep
}
from
"
@/infra
"
;
import
{
matStore
}
from
"
@/stores
"
;
export
default
async
(
confirmDeskTop
:
ygopro
.
StocGameMessage
.
MsgConfirmDeskTop
)
=>
{
const
cards
=
confirmDeskTop
.
cards
;
export
default
async
(
confirmCards
:
ygopro
.
StocGameMessage
.
MsgConfirmCards
)
=>
{
const
cards
=
confirmCards
.
cards
;
for
(
const
card
of
cards
)
{
const
target
=
matStore
...
...
src/service/duel/gameMsg.ts
View file @
f8d49466
...
...
@@ -7,7 +7,7 @@ import onMsgAttackDisable from "./attackDisable";
import
onMsgChainEnd
from
"
./chainEnd
"
;
import
onMsgChaining
from
"
./chaining
"
;
import
onMsgChainSolved
from
"
./chainSolved
"
;
import
onConfirm
DeskTop
from
"
./confirmDeskTop
"
;
import
onConfirm
Cards
from
"
./confirmCards
"
;
import
onMsgDraw
from
"
./draw
"
;
import
onMsgFilpSummoned
from
"
./flipSummoned
"
;
import
onMsgFlipSummoning
from
"
./flipSummoning
"
;
...
...
@@ -283,8 +283,8 @@ export default async function handleGameMsg(pb: ygopro.YgoStocMsg) {
break
;
}
case
"
confirm_
desktop
"
:
{
await
onConfirm
DeskTop
(
msg
.
confirm_desktop
);
case
"
confirm_
cards
"
:
{
await
onConfirm
Cards
(
msg
.
confirm_cards
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment