QtCraft API C++ classes QML types Handbook

QcVillage::Grudges Struct

struct QcVillage::Grudges

Players who hurt its villagers or golems and the world time the grudge ends: its golems attack them (QcGolemGrudges, decision E-471). More...

Public Functions

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

Public Variables

QHash<QString, double> until

Detailed Description

Member Function Documentation

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

Passing state, neither saved nor compared: returns true, villages that differ only in grudges are equal.

Member Variable Documentation

QHash<QString, double> Grudges::until

By player name, so leaving and joining again keeps it.