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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
love_飞影
Neos
Commits
e14b2781
Commit
e14b2781
authored
May 25, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
707b88d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/mod.ts
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/mod.ts
+4
-4
src/service/duel/announce.ts
src/service/duel/announce.ts
+1
-1
src/ui/Duel/Message/AnnounceModal.tsx
src/ui/Duel/Message/AnnounceModal.tsx
+1
-0
No files found.
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/mod.ts
View file @
e14b2781
...
@@ -201,22 +201,22 @@ export default class GameMsgAdapter implements StocAdapter {
...
@@ -201,22 +201,22 @@ export default class GameMsgAdapter implements StocAdapter {
break
;
break
;
}
}
case
GAME_MSG
.
MSG_ANNOUNCE_RACE
:
{
case
GAME_MSG
.
MSG_ANNOUNCE_RACE
:
{
gameMsg
.
announce
Race
=
MsgAnnounceRace
(
gameData
);
gameMsg
.
announce
=
MsgAnnounceRace
(
gameData
);
break
;
break
;
}
}
case
GAME_MSG
.
MSG_ANNOUNCE_ATTRIB
:
{
case
GAME_MSG
.
MSG_ANNOUNCE_ATTRIB
:
{
gameMsg
.
announce
Attrib
=
MsgAnnounceAttribute
(
gameData
);
gameMsg
.
announce
=
MsgAnnounceAttribute
(
gameData
);
break
;
break
;
}
}
case
GAME_MSG
.
MSG_ANNOUNCE_CARD
:
{
case
GAME_MSG
.
MSG_ANNOUNCE_CARD
:
{
gameMsg
.
announce
Card
=
MsgAnnounceCard
(
gameData
);
gameMsg
.
announce
=
MsgAnnounceCard
(
gameData
);
break
;
break
;
}
}
case
GAME_MSG
.
MSG_ANNOUNCE_NUMBER
:
{
case
GAME_MSG
.
MSG_ANNOUNCE_NUMBER
:
{
gameMsg
.
announce
Number
=
MsgAnnounceNumber
(
gameData
);
gameMsg
.
announce
=
MsgAnnounceNumber
(
gameData
);
break
;
break
;
}
}
...
...
src/service/duel/announce.ts
View file @
e14b2781
import
{
fetchCard
,
fetchStrings
,
getStrings
,
ygopro
}
from
"
@/api
"
;
import
{
fetchCard
,
fetchStrings
,
ygopro
}
from
"
@/api
"
;
import
{
messageStore
}
from
"
@/stores
"
;
import
{
messageStore
}
from
"
@/stores
"
;
import
MsgAnnounce
=
ygopro
.
StocGameMessage
.
MsgAnnounce
;
import
MsgAnnounce
=
ygopro
.
StocGameMessage
.
MsgAnnounce
;
...
...
src/ui/Duel/Message/AnnounceModal.tsx
View file @
e14b2781
...
@@ -41,6 +41,7 @@ export const AnnounceModal = () => {
...
@@ -41,6 +41,7 @@ export const AnnounceModal = () => {
>
>
<
CheckCard
.
Group
<
CheckCard
.
Group
bordered
bordered
multiple
size=
"small"
size=
"small"
onChange=
{
(
value
:
any
)
=>
{
onChange=
{
(
value
:
any
)
=>
{
setSelected
(
value
);
setSelected
(
value
);
...
...
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