QcBlockParser Namespace
Parses block definitions of content packs. More...
| Header: | #include <common/content/blocks/QcBlockParser.h> |
Functions
| QcResult<QcBlockDefinition> | parseBlock(const QJsonObject &json, const QString &packNamespace) |
Detailed Description
Function Documentation
QcResult<QcBlockDefinition> QcBlockParser::parseBlock(const QJsonObject &json, const QString &packNamespace)
Returns the block definition read from json, names qualified in packNamespace, or the first error found.