QtCraft API C++ classes QML types Handbook

QcBiomeMap::Site Struct

struct QcBiomeMap::Site

A village or structure on the map: its kind and the column it stands at. More...

Public Types

enum class Kind { Village, Structure }

Public Variables

QcBiomeMap::Site::Kind kind
QString name
int x
int z

Detailed Description

Member Type Documentation

enum class Site::Kind

Whether a site is a village or a structure.

ConstantValueDescription
QcBiomeMap::Site::Kind::Village0A village (its centre).
QcBiomeMap::Site::Kind::Structure1A surface structure or a coastal tower.

Member Variable Documentation

QcBiomeMap::Site::Kind Site::kind

Whether the site is a village or a structure.

QString Site::name

The kind: the structure's name ("qtcraft:desert_temple"), "coastal_tower" or "village" (one of siteKinds()).