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

The byte extent of a set's object inside the scanned document, plus the size of its cards array. This is the slice SetToDownload needs for lazy per-set parsing; the metadata strings live in SetRange alongside it. More...

#include <raw_json_scanner.h>

Public Attributes

qsizetype start = -1
 Byte offset of the set's object within the scanned buffer.
qsizetype length = 0
 Byte length of the set's object, including the surrounding braces.
int cardCount = 0
 Number of entries in the set's "cards" array.

Detailed Description

The byte extent of a set's object inside the scanned document, plus the size of its cards array. This is the slice SetToDownload needs for lazy per-set parsing; the metadata strings live in SetRange alongside it.

Member Data Documentation

◆ cardCount

int RawJson::SetDataRange::cardCount = 0

Number of entries in the set's "cards" array.

◆ length

qsizetype RawJson::SetDataRange::length = 0

Byte length of the set's object, including the surrounding braces.

◆ start

qsizetype RawJson::SetDataRange::start = -1

Byte offset of the set's object within the scanned buffer.


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