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
77bb40f4
Commit
77bb40f4
authored
Jun 08, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean
parent
681be1c4
Changes
2
Hide 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 @
77bb40f4
...
@@ -1854,9 +1854,9 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
...
@@ -1854,9 +1854,9 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
this
->
host_info
.
duel_rule
);
BufferIO
::
WriteInt8
(
pbuf
,
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
...
@@ -1873,11 +1873,11 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
...
@@ -1873,11 +1873,11 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt16
(
pbuf
,
this
->
phase
);
BufferIO
::
WriteInt16
(
pbuf
,
phase
);
});
});
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
auto
length
=
query_field_info
(
this
->
pduel
,
pbuf
);
auto
length
=
query_field_info
(
pduel
,
pbuf
);
pbuf
+=
length
;
pbuf
+=
length
;
});
});
...
@@ -1905,7 +1905,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
...
@@ -1905,7 +1905,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
0
);
BufferIO
::
WriteInt8
(
pbuf
,
0
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
deck_top
[
i
]);
BufferIO
::
WriteInt32
(
pbuf
,
deck_top
[
i
]);
});
});
}
}
}
}
...
...
gframe/tag_duel.cpp
View file @
77bb40f4
...
@@ -1951,9 +1951,9 @@ void TagDuel::RequestField(DuelPlayer* dp) {
...
@@ -1951,9 +1951,9 @@ void TagDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_START
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
player
);
BufferIO
::
WriteInt8
(
pbuf
,
this
->
host_info
.
duel_rule
);
BufferIO
::
WriteInt8
(
pbuf
,
host_info
.
duel_rule
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
this
->
host_info
.
start_lp
);
BufferIO
::
WriteInt32
(
pbuf
,
host_info
.
start_lp
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
BufferIO
::
WriteInt16
(
pbuf
,
0
);
...
@@ -1972,11 +1972,11 @@ void TagDuel::RequestField(DuelPlayer* dp) {
...
@@ -1972,11 +1972,11 @@ void TagDuel::RequestField(DuelPlayer* dp) {
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_NEW_PHASE
);
BufferIO
::
WriteInt16
(
pbuf
,
this
->
phase
);
BufferIO
::
WriteInt16
(
pbuf
,
phase
);
});
});
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
WriteMsg
([
&
](
uint8_t
*&
pbuf
)
{
auto
length
=
query_field_info
(
this
->
pduel
,
pbuf
);
auto
length
=
query_field_info
(
pduel
,
pbuf
);
pbuf
+=
length
;
pbuf
+=
length
;
});
});
...
@@ -2004,7 +2004,7 @@ void TagDuel::RequestField(DuelPlayer* dp) {
...
@@ -2004,7 +2004,7 @@ void TagDuel::RequestField(DuelPlayer* dp) {
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
MSG_DECK_TOP
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
i
);
BufferIO
::
WriteInt8
(
pbuf
,
0
);
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