QtCraft API C++ classes QML types Handbook

QcVillage::Spot Struct

struct QcVillage::Spot

A bed (its head) or workstation; claimedBy is the persistent id (QcCreature::uid, decision E-420) of the villager that uses it (0: free). More...

Public Variables

QcBlockPos at
quint64 claimedBy
QString kind

Detailed Description

Member Variable Documentation

QcBlockPos Spot::at

Where it is.

quint64 Spot::claimedBy

The persistent id of the villager that uses it (0: free).

QString Spot::kind

The kind of work of a workstation (QcVillageSettings::workstations); empty for a bed.