QtCraft API C++ classes QML types Handbook

QcModLoader::Result Struct

struct QcModLoader::Result

A load that succeeded: the content, the state of every mod and the warnings. More...

Public Variables

std::shared_ptr<QcContentRegistry> content
QList<QcModStatus> mods
QStringList warnings

Detailed Description

Member Variable Documentation

std::shared_ptr<QcContentRegistry> Result::content

The base game and every loaded mod in one registry.

QList<QcModStatus> Result::mods

Every mod directory found, in load order for loaded mods, then the others by directory.

QStringList Result::warnings

Warnings of the base game, of the mods (also failed ones) and of references between packs.