Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LoadSetsResult Struct Reference

Result of a worker-thread sets-file load (read + decompress + dispatch). More...

#include <pages.h>

Public Attributes

bool ok = false
 JSON scan produced set data (or plain XML was handled).
bool plainXml = false
 input was a plain Cockatrice XML database
QByteArray xmlData
 raw XML for the plain-XML path
QString errorMessage
 set when the input could not be processed
bool offerUncompressedFallback = false
 decompression-only failure: offer the uncompressed URL

Detailed Description

Result of a worker-thread sets-file load (read + decompress + dispatch).

Member Data Documentation

◆ errorMessage

QString LoadSetsResult::errorMessage

set when the input could not be processed

◆ offerUncompressedFallback

bool LoadSetsResult::offerUncompressedFallback = false

decompression-only failure: offer the uncompressed URL

◆ ok

bool LoadSetsResult::ok = false

JSON scan produced set data (or plain XML was handled).

◆ plainXml

bool LoadSetsResult::plainXml = false

input was a plain Cockatrice XML database

◆ xmlData

QByteArray LoadSetsResult::xmlData

raw XML for the plain-XML path


The documentation for this struct was generated from the following file: