mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
[DeckList] Move metadata into struct (#6380)
* [DeckList] Move metadata into struct * wipe metadata if preserveMetadata is false
This commit is contained in:
parent
d57bec8ec6
commit
3ff2df2796
3 changed files with 76 additions and 44 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