Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
26071d2e
Commit
26071d2e
authored
Jun 08, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'server-patch-reversedeck' of ../versions/ygopro-mc into server-develop
parents
8c308d90
77bb40f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
gframe/single_duel.cpp
gframe/single_duel.cpp
+6
-6
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+6
-6
No files found.
gframe/single_duel.cpp
View file @
26071d2e
...
...
@@ -1932,9 +1932,9 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
this
->
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt8
(
pbuf
,
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
...
...
@@ -1951,11 +1951,11 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt16
(
pbuf
,
this
->
phase
);
BufferIO
::
WriteInt16
(
pbuf
,
phase
);
});
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
auto
length
=
query_field_info
(
this
->
pduel
,
pbuf
);
auto
length
=
query_field_info
(
pduel
,
pbuf
);
pbuf
+=
length
;
});
...
...
@@ -1983,7 +1983,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
0
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
deck_top
[
i
]);
BufferIO
::
WriteInt32
(
pbuf
,
deck_top
[
i
]);
});
}
}
...
...
gframe/tag_duel.cpp
View file @
26071d2e
...
...
@@ -2030,9 +2030,9 @@ void TagDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
this
->
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt8
(
pbuf
,
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
...
...
@@ -2051,11 +2051,11 @@ void TagDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt16
(
pbuf
,
this
->
phase
);
BufferIO
::
WriteInt16
(
pbuf
,
phase
);
});
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
auto
length
=
query_field_info
(
this
->
pduel
,
pbuf
);
auto
length
=
query_field_info
(
pduel
,
pbuf
);
pbuf
+=
length
;
});
...
...
@@ -2083,7 +2083,7 @@ void TagDuel::RequestField(DuelPlayer* dp) {
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
0
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
deck_top
[
i
]);
BufferIO
::
WriteInt32
(
pbuf
,
deck_top
[
i
]);
});
}
}
...
...
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