QtCraft API C++ classes QML types Handbook

QcStructureDefinition::Part Struct

struct QcStructureDefinition::Part

An optional part of the village planner (decision E-404): cells in the structure's palette written over its own cells with chance per placed copy (keep: the structure's own cell). More...

Public Variables

QList<qint16> cells
double chance
QString name

Detailed Description

Member Variable Documentation

QList<qint16> Part::cells

Palette index per cell like cells.

double Part::chance

Chance per placed copy ("chance", 0 to 1).

QString Part::name

The part's name ("name").