QtCraft API C++ classes QML types Handbook

QcBlastParser Namespace

Parses the explosion fields of a block (decision E-600): "blastResistance" and "explosive". More...

Header: #include <common/content/blockbehaviour/QcBlastParser.h>

Functions

QcBlastDefinition parseBlast(const QcBlockDefinition &block, QcJsonFieldReader &reader)

Detailed Description

Function Documentation

QcBlastDefinition QcBlastParser::parseBlast(const QcBlockDefinition &block, QcJsonFieldReader &reader)

Returns the explosion fields read by reader, which also takes the failures; block (read so far) decides whether the block may be explosive.