Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
ygopro-scripts-888
Commits
de0cfba1
Commit
de0cfba1
authored
Feb 09, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update parameter type
parent
81a5cb7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
utility.lua
utility.lua
+4
-4
No files found.
utility.lua
View file @
de0cfba1
...
@@ -1079,7 +1079,7 @@ end
...
@@ -1079,7 +1079,7 @@ end
---@param f function
---@param f function
---@param min? integer
---@param min? integer
---@param max? integer
---@param max? integer
---@param ...
? unknown
---@param ...
any
---@return boolean
---@return boolean
function
Group
.
CheckSubGroup
(
g
,
f
,
min
,
max
,
...
)
function
Group
.
CheckSubGroup
(
g
,
f
,
min
,
max
,
...
)
min
=
min
or
1
min
=
min
or
1
...
@@ -1104,7 +1104,7 @@ end
...
@@ -1104,7 +1104,7 @@ end
---@param cancelable boolean
---@param cancelable boolean
---@param min? integer
---@param min? integer
---@param max? integer
---@param max? integer
---@param ...
? unknown
---@param ...
any
---@return Group|nil
---@return Group|nil
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
...
@@ -1187,7 +1187,7 @@ end
...
@@ -1187,7 +1187,7 @@ end
---@param g Group
---@param g Group
---@param checks table
---@param checks table
---@param f? function
---@param f? function
---@param ...
? unknown
---@param ...
any
---@return boolean
---@return boolean
function
Group
.
CheckSubGroupEach
(
g
,
checks
,
f
,
...
)
function
Group
.
CheckSubGroupEach
(
g
,
checks
,
f
,
...
)
if
f
==
nil
then
f
=
Auxiliary
.
TRUE
end
if
f
==
nil
then
f
=
Auxiliary
.
TRUE
end
...
@@ -1202,7 +1202,7 @@ end
...
@@ -1202,7 +1202,7 @@ end
---@param checks table
---@param checks table
---@param cancelable? boolean
---@param cancelable? boolean
---@param f? function
---@param f? function
---@param ...
? unknown
---@param ...
any
---@return Group|nil
---@return Group|nil
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
if
cancelable
==
nil
then
cancelable
=
false
end
if
cancelable
==
nil
then
cancelable
=
false
end
...
...
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