From d4eacb56b30baaef801f42545398a4f29755fadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 7 Mar 2016 02:01:28 +0100 Subject: NOISSUE make new Mojang version format pass through MultiMC structures Not yet used effectively, but it is read and written properly --- logic/minecraft/VersionFile.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'logic/minecraft/VersionFile.h') diff --git a/logic/minecraft/VersionFile.h b/logic/minecraft/VersionFile.h index 64bec731..5e722dbf 100644 --- a/logic/minecraft/VersionFile.h +++ b/logic/minecraft/VersionFile.h @@ -7,9 +7,9 @@ #include #include "minecraft/OpSys.h" -#include "minecraft/OneSixRule.h" +#include "minecraft/Rule.h" #include "ProfilePatch.h" -#include "RawLibrary.h" +#include "Library.h" #include "JarMod.h" class MinecraftProfile; @@ -169,16 +169,22 @@ public: /* data */ /// MultiMC: override list of libraries (replaces the previously assembled lists) bool shouldOverwriteLibs = false; - QList overwriteLibs; + QList overwriteLibs; /// Mojang: list of libraries to add to the version - QList addLibs; + QList addLibs; /// MultiMC: list of attached traits of this version file - used to enable features QSet traits; /// MultiMC: list of jar mods added to this version QList jarMods; + + // Mojang: list of 'downloads' - client jar, server jar, windows server exe, maybe more. + QMap mojangDownloads; + + // Mojang: extended asset index download information + MojangAssetIndexInfoPtr mojangAssetIndex; }; -- cgit v1.2.3