QtCraft API C++ classes QML types Handbook

QcWorldLibrary::Entry Struct

struct QcWorldLibrary::Entry

One saved world as the library lists it. More...

Public Variables

QString directory
QString error
QString folder
QcWorldInfo info
bool tooOld

Detailed Description

Member Variable Documentation

QString Entry::directory

Path of the world's directory.

QString Entry::error

Set when world.json cannot be read; the world is listed but cannot be played.

QString Entry::folder

Name of the world's sub-directory below the root.

QcWorldInfo Entry::info

The contents of world.json (the folder name as world name when it cannot be read).

bool Entry::tooOld

Saved by an older development version (decision E-356): listed, but it cannot be played.