diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-02-17 08:10:31 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-02-17 08:23:57 +0100 |
commit | 163a3095b1fb8c2735fdd379e84d99f4c583d433 (patch) | |
tree | 69ed8e3a1958bcf2dfb84c8ac69b5b502a1ce9ca /logic/minecraft/MinecraftVersion.h | |
parent | a20e2590da5b7d50201e40f717ad50b063d1e3ac (diff) | |
download | MultiMC-163a3095b1fb8c2735fdd379e84d99f4c583d433.tar MultiMC-163a3095b1fb8c2735fdd379e84d99f4c583d433.tar.gz MultiMC-163a3095b1fb8c2735fdd379e84d99f4c583d433.tar.lz MultiMC-163a3095b1fb8c2735fdd379e84d99f4c583d433.tar.xz MultiMC-163a3095b1fb8c2735fdd379e84d99f4c583d433.zip |
GH-1453 separate out Mojang version reading, use version file URLs
Diffstat (limited to 'logic/minecraft/MinecraftVersion.h')
-rw-r--r-- | logic/minecraft/MinecraftVersion.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/logic/minecraft/MinecraftVersion.h b/logic/minecraft/MinecraftVersion.h index 234e5566..120ea8ce 100644 --- a/logic/minecraft/MinecraftVersion.h +++ b/logic/minecraft/MinecraftVersion.h @@ -76,15 +76,17 @@ public: /* methods */ virtual QJsonDocument toJson(bool saveOrder) override; + QString getUrl() const; + private: /* methods */ void applyFileTo(MinecraftProfile *version); public: /* data */ - /// The URL that this version will be downloaded from. maybe. - QString download_url; - VersionSource m_versionSource = Builtin; + /// The URL that this version will be downloaded from. + QString m_versionFileURL; + /// the human readable version name QString m_name; |