From 3fb4ce713fb7fdef2753009967fa58103fa69974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 8 Sep 2017 09:02:27 +0200 Subject: NOISSUE add support for Flame packs with resource packs And a bunch of undefined things we don't handle intentionally just yet... --- api/logic/minecraft/flame/PackManifest.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'api/logic/minecraft/flame/PackManifest.h') 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 -- cgit v1.2.3