diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2021-07-12 00:07:55 +0200 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2021-07-12 00:07:55 +0200 |
| commit | 4bdb4aff50a97c8ac8030fcd1dcb2b00ccc1e12d (patch) | |
| tree | 0ba0d186ca2cbd09faaad8d0c28d6a31e5379054 /src/nexusinterface.h | |
| parent | 58e5058a2b524cab655d9562b07d51a5b12d2f14 (diff) | |
Added enum for nexus mod file status (main, update, etc).
Diffstat (limited to 'src/nexusinterface.h')
| -rw-r--r-- | src/nexusinterface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nexusinterface.h b/src/nexusinterface.h index cf365b2e..e188d0bf 100644 --- a/src/nexusinterface.h +++ b/src/nexusinterface.h @@ -148,6 +148,18 @@ public: MONTH }; + // Nexus file category IDs (MAIN, OLD etc), not to be confused with mod categories (Armors, Texture etc). + enum FileStatus { + MAIN = 1, + UPDATE = 2, + OPTIONAL_FILE = 3, // actual string version is "OPTIONAL", but that is already defined as a macro in minwindef.h + OLD_VERSION = 4, + MISCELLANEOUS = 5, + REMOVED = 6, + ARCHIVED = 7, + ARCHIVED_HIDDEN = 1000 // Archived files can be hidden by authors so if they aren't listed we can assume they were hidden. + }; + public: static APILimits defaultAPILimits(); static APILimits parseLimits(const QNetworkReply* reply); |
