mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 06:22:15 -07:00
[DeckList] Move metadata into struct
This commit is contained in:
parent
eab4d435f8
commit
84363262e4
3 changed files with 75 additions and 41 deletions
|
|
@ -19,6 +19,11 @@ struct CardRef
|
|||
{
|
||||
return name == other.name && providerId == other.providerId;
|
||||
}
|
||||
|
||||
bool isEmpty() const
|
||||
{
|
||||
return name.isEmpty() && providerId.isEmpty();
|
||||
}
|
||||
};
|
||||
|
||||
#endif // CARD_REF_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue