summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/flame/PackManifest.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-09-08 09:02:27 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-08 09:02:27 +0200
commit3fb4ce713fb7fdef2753009967fa58103fa69974 (patch)
treee1d9b9db3168a631100fb37fde4359d9d857e52a /api/logic/minecraft/flame/PackManifest.h
parent32a2cb5a0dabbe19eef04f378824af8a10487d97 (diff)
downloadMultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.gz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.lz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.tar.xz
MultiMC-3fb4ce713fb7fdef2753009967fa58103fa69974.zip
NOISSUE add support for Flame packs with resource packs
And a bunch of undefined things we don't handle intentionally just yet...
Diffstat (limited to 'api/logic/minecraft/flame/PackManifest.h')
-rw-r--r--api/logic/minecraft/flame/PackManifest.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/logic/minecraft/flame/PackManifest.h b/api/logic/minecraft/flame/PackManifest.h
index ae91bffb..07bf92b6 100644
--- a/api/logic/minecraft/flame/PackManifest.h
+++ b/api/logic/minecraft/flame/PackManifest.h
@@ -9,12 +9,24 @@ struct File
{
int projectId = 0;
int fileId = 0;
+ // NOTE: the opposite to 'optional'. This is at the time of writing unused.
bool required = true;
// our
bool resolved = false;
QString fileName;
QString url;
+ QString targetFolder = QLatin1Literal("mods");
+ enum class Type
+ {
+ Unknown,
+ Folder,
+ Ctoc,
+ SingleFile,
+ Cmod2,
+ Modpack,
+ Mod
+ } type = Type::Mod;
};
struct Modloader