QtCraft API C++ classes QML types Handbook

QcVillagerRelocation::Context Struct

struct QcVillagerRelocation::Context

What a relocation reads. More...

Public Variables

QcVillagerHomes::Limits limits
std::function<bool (QcVillage &)> settled
QcVillages &villages

Detailed Description

Member Variable Documentation

QcVillagerHomes::Limits Context::limits

How many villagers may live.

std::function<bool (QcVillage &)> Context::settled

Whether a village takes newcomers: its claims are known (reconciled after loading, or none to reconcile; QcVillagePopulation).

QcVillages &Context::villages

The villages.