![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Value type holding the full parsed state of a card database. More...
#include <card_database_data.h>
Public Attributes | |
| CardNameMap | cards |
| CardNameMap | simpleNameCards |
| SetNameMap | sets |
| FormatRulesNameMap | formats |
Value type holding the full parsed state of a card database.
Parsers fill a CardDatabaseData off the UI thread; the finished snapshot is then swapped into the live CardDatabase atomically. Keeping this separate from the live container avoids emitting per-card change notifications and prevents readers from observing a half-loaded database.
| CardNameMap CardDatabaseData::cards |
| FormatRulesNameMap CardDatabaseData::formats |
| SetNameMap CardDatabaseData::sets |
| CardNameMap CardDatabaseData::simpleNameCards |