QtCraft API C++ classes QML types Handbook

QcVillage::Residents Struct

struct QcVillage::Residents

The persistent ids of the villagers its population counts, known once its claims were reconciled in this run (QcVillagePopulation): a villager that was away then (its claims lapsed) is not among them, so it neither leaves the population again nor stays a villager here. More...

Public Functions

bool operator==(const QcVillage::Residents &) const

Public Variables

bool known
QSet<quint64> uids

Detailed Description

Member Function Documentation

bool Residents::operator==(const QcVillage::Residents &) const

Passing state, neither saved nor compared: returns true.

Member Variable Documentation

bool Residents::known

Whether the claims were reconciled in this run.

QSet<quint64> Residents::uids

The persistent ids.