[Game] Refactor move cards from library actions (#6658)

* refactor move top/bottom cards actions

* minor cleanup

* translate zone display names
This commit is contained in:
RickyRister 2026-03-04 06:00:18 -08:00 committed by GitHub
parent b36ab66583
commit e7a3ad86eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 62 deletions

View file

@ -180,6 +180,9 @@ private:
FilterString movingCardsUntilFilter;
int movingCardsUntilCounter = 0;
void moveTopCardsTo(const QString &targetZone, const QString &zoneDisplayName);
void moveBottomCardsTo(const QString &targetZone, const QString &zoneDisplayName);
void createCard(const CardItem *sourceCard,
const QString &dbCardName,
CardRelationType attach = CardRelationType::DoesNotAttach,