summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/VersionFile.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-04-13 09:28:25 +0200
committerPetr Mrázek <peterix@gmail.com>2017-04-13 09:28:25 +0200
commitbe53eb66f8a63730f4def5640db6205678b4e9d8 (patch)
treebd5bdef96985312b6687b40f8835336bb3f56bb3 /api/logic/minecraft/VersionFile.h
parentdb7357d008ae1f4ac0599b7e410ab666dbea5805 (diff)
downloadMultiMC-be53eb66f8a63730f4def5640db6205678b4e9d8.tar
MultiMC-be53eb66f8a63730f4def5640db6205678b4e9d8.tar.gz
MultiMC-be53eb66f8a63730f4def5640db6205678b4e9d8.tar.lz
MultiMC-be53eb66f8a63730f4def5640db6205678b4e9d8.tar.xz
MultiMC-be53eb66f8a63730f4def5640db6205678b4e9d8.zip
NOISSUE implement mainJar support in OneSix format
This allows customizing the main jar like any other library.
Diffstat (limited to 'api/logic/minecraft/VersionFile.h')
-rw-r--r--api/logic/minecraft/VersionFile.h11
1 files changed, 7 insertions, 4 deletions
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<LibraryPtr> libraries;
+ // The main jar (Minecraft version library, normally)
+ LibraryPtr mainJar;
+
/// MultiMC: list of attached traits of this version file - used to enable features
QSet<QString> traits;
@@ -84,7 +87,7 @@ public: /* data */
QList<JarmodPtr> 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 <QString, std::shared_ptr<MojangDownloadInfo>> mojangDownloads;
// Mojang: extended asset index download information