![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Bundled per-set priority options, returned in a single call. More...
#include <interface_card_set_priority_controller.h>
Public Attributes | |
| unsigned int | sortKey = 0 |
| bool | enabled = false |
| bool | isKnown = false |
Bundled per-set priority options, returned in a single call.
Reading these individually (getSortKey/isEnabled/isKnown) is cheap for the noop controller but extremely expensive when backed by QSettings, which re-opens and re-parses the whole .ini on every access. Callers that need more than one option for the same set (notably CardSet construction during database load) should use getSetOptions() to avoid that cost.
| bool ICardSetPriorityController::SetOptions::enabled = false |
| bool ICardSetPriorityController::SetOptions::isKnown = false |
| unsigned int ICardSetPriorityController::SetOptions::sortKey = 0 |