QtCraft API C++ classes QML types Handbook

QcContentRegistry::ParsedState Struct

struct QcContentRegistry::ParsedState

A parsed state name: the state (std::nullopt for an unknown block) and what was wrong with it. More...

Public Variables

std::optional<QcBlockId> id
QStringList problems

Detailed Description

Member Variable Documentation

std::optional<QcBlockId> ParsedState::id

The state; none for an unknown block.

QStringList ParsedState::problems

What was wrong with the name, one text per problem.