QtCraft API C++ classes QML types Handbook

QcTexturePackLibrary::Entry Struct

struct QcTexturePackLibrary::Entry

A pack folder found by scan(). More...

Header: #include <clientcore/texturepacks/QcTexturePackLibrary.h>

Public Variables

QString directory
std::optional<QcTexturePackProblem> error
QString id
std::optional<QcTexturePackManifest> manifest
QcTexturePack::Origin origin

Detailed Description

Member Variable Documentation

QString Entry::directory

Path of the pack folder.

std::optional<QcTexturePackProblem> Entry::error

Why the manifest is missing or invalid; unset when it was read.

QString Entry::id

Id of the pack (Root::idPrefix plus the folder name).

std::optional<QcTexturePackManifest> Entry::manifest

Unset when the manifest is missing or invalid; error says why.

QcTexturePack::Origin Entry::origin

Origin of the pack.