From be53eb66f8a63730f4def5640db6205678b4e9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 13 Apr 2017 09:28:25 +0200 Subject: NOISSUE implement mainJar support in OneSix format This allows customizing the main jar like any other library. --- api/logic/minecraft/VersionFile.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'api/logic/minecraft/VersionFile.h') diff --git a/api/logic/minecraft/VersionFile.h b/api/logic/minecraft/VersionFile.h index 312d0a3b..830e2ca0 100644 --- a/api/logic/minecraft/VersionFile.h +++ b/api/logic/minecraft/VersionFile.h @@ -41,10 +41,10 @@ public: /* data */ /// MultiMC: version of this package QString version; - /// MultiMC: dependency on a Minecraft version + /// MultiMC: DEPRECATED dependency on a Minecraft version QString dependsOnMinecraftVersion; - /// Mojang: used to version the Mojang version format + /// Mojang: DEPRECATED used to version the Mojang version format int minimumLauncherVersion = -1; /// Mojang: DEPRECATED version of Minecraft this is @@ -65,7 +65,7 @@ public: /* data */ /// Mojang: the time this version was actually released by Mojang QDateTime releaseTime; - /// Mojang: the time this version was last updated by Mojang + /// Mojang: DEPRECATED the time this version was last updated by Mojang QDateTime updateTime; /// Mojang: DEPRECATED asset group to be used with Minecraft @@ -77,6 +77,9 @@ public: /* data */ /// Mojang: list of libraries to add to the version QList libraries; + // The main jar (Minecraft version library, normally) + LibraryPtr mainJar; + /// MultiMC: list of attached traits of this version file - used to enable features QSet traits; @@ -84,7 +87,7 @@ public: /* data */ QList jarMods; public: - // Mojang: list of 'downloads' - client jar, server jar, windows server exe, maybe more. + // Mojang: DEPRECATED list of 'downloads' - client jar, server jar, windows server exe, maybe more. QMap > mojangDownloads; // Mojang: extended asset index download information -- cgit v1.2.3