Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
6d842e3c
Commit
6d842e3c
authored
Dec 09, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inline by default
parent
aea5eb4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
card.h
card.h
+2
-2
group.h
group.h
+1
-1
No files found.
card.h
View file @
6d842e3c
...
...
@@ -66,10 +66,10 @@ struct card_state {
effect
*
reason_effect
{
nullptr
};
bool
is_location
(
int32
loc
)
const
;
inline
bool
is_main_mzone
()
const
{
bool
is_main_mzone
()
const
{
return
location
==
LOCATION_MZONE
&&
sequence
>=
0
&&
sequence
<=
4
;
}
inline
bool
is_stzone
()
const
{
bool
is_stzone
()
const
{
return
location
==
LOCATION_SZONE
&&
sequence
>=
0
&&
sequence
<=
4
;
}
void
init_state
();
...
...
group.h
View file @
6d842e3c
...
...
@@ -25,7 +25,7 @@ public:
uint32
is_readonly
{
0
};
bool
is_iterator_dirty
{
true
};
inline
bool
has_card
(
card
*
c
)
{
bool
has_card
(
card
*
c
)
{
return
container
.
find
(
c
)
!=
container
.
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