QcModStatus Struct
Outcome of one mod directory after discovery and loading. More...
| Header: | #include <worlds/QcModStatus.h> |
Public Types
| enum class | State { Loaded, Disabled, Failed } |
Public Variables
Detailed Description
Member Type Documentation
enum class QcModStatus::State
Whether the mod was loaded.
| Constant | Value | Description |
|---|---|---|
QcModStatus::State::Loaded | 0 | Its content is part of the registry. |
QcModStatus::State::Disabled | 1 | On the disabled list of the mods directory; not loaded. |
QcModStatus::State::Failed | 2 | Could not be loaded; reason says why. |
Member Variable Documentation
QcContentPackInfo QcModStatus::info
info.id may be empty when the manifest could not be read; info.directory is always set.
QString QcModStatus::reason
Why the mod was not loaded (Failed only), in English in every interface language: it names files, keys and identifiers of the mod (decision E-973).
QcModStatus::State QcModStatus::state
Whether the mod was loaded, switched off or failed.
QStringList QcModStatus::warnings
Entries of a loaded mod that were skipped.