Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygo-agent
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
Biluo Shen
ygo-agent
Commits
6ac949a8
Commit
6ac949a8
authored
May 06, 2024
by
sbl1996@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment force action in multi_select
parent
308d2f2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
ygoenv/ygoenv/ygopro/ygopro.h
ygoenv/ygoenv/ygopro/ygopro.h
+17
-17
No files found.
ygoenv/ygoenv/ygopro/ygopro.h
View file @
6ac949a8
...
@@ -3865,14 +3865,14 @@ private:
...
@@ -3865,14 +3865,14 @@ private:
}
}
// TODO: use this when added to history actions
// TODO: use this when added to history actions
if
((
min
==
max
)
&&
(
max
==
specs
.
size
()))
{
//
if ((min == max) && (max == specs.size())) {
resp_buf_
[
0
]
=
specs
.
size
();
//
resp_buf_[0] = specs.size();
for
(
int
i
=
0
;
i
<
specs
.
size
();
++
i
)
{
//
for (int i = 0; i < specs.size(); ++i) {
resp_buf_
[
i
+
1
]
=
i
;
//
resp_buf_[i + 1] = i;
}
//
}
YGO_SetResponseb
(
pduel_
,
resp_buf_
);
//
YGO_SetResponseb(pduel_, resp_buf_);
return
;
//
return;
}
//
}
init_multi_select
(
min
,
max
,
0
,
specs
);
init_multi_select
(
min
,
max
,
0
,
specs
);
...
@@ -3946,15 +3946,15 @@ private:
...
@@ -3946,15 +3946,15 @@ private:
}
}
// TODO: use this when added to history actions
// TODO: use this when added to history actions
if
(
max
==
specs
.
size
())
{
//
if (max == specs.size()) {
// tribute all
//
// tribute all
resp_buf_
[
0
]
=
specs
.
size
();
//
resp_buf_[0] = specs.size();
for
(
int
i
=
0
;
i
<
specs
.
size
();
++
i
)
{
//
for (int i = 0; i < specs.size(); ++i) {
resp_buf_
[
i
+
1
]
=
i
;
//
resp_buf_[i + 1] = i;
}
//
}
YGO_SetResponseb
(
pduel_
,
resp_buf_
);
//
YGO_SetResponseb(pduel_, resp_buf_);
return
;
//
return;
}
//
}
init_multi_select
(
min
,
max
,
0
,
specs
);
init_multi_select
(
min
,
max
,
0
,
specs
);
...
...
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