diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-04-01 00:07:37 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-04-30 23:59:03 +0200 |
commit | 5ae3b2c11416eb897a08b0d9531843d0357332f8 (patch) | |
tree | a5850f8e58ccb2db55c4a992677770126139429e /logic/minecraft/MinecraftVersion.h | |
parent | 4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90 (diff) | |
download | MultiMC-5ae3b2c11416eb897a08b0d9531843d0357332f8.tar MultiMC-5ae3b2c11416eb897a08b0d9531843d0357332f8.tar.gz MultiMC-5ae3b2c11416eb897a08b0d9531843d0357332f8.tar.lz MultiMC-5ae3b2c11416eb897a08b0d9531843d0357332f8.tar.xz MultiMC-5ae3b2c11416eb897a08b0d9531843d0357332f8.zip |
NOISSUE nuke builtin Minecraft versions
Use upstream Mojang versions.
Diffstat (limited to 'logic/minecraft/MinecraftVersion.h')
-rw-r--r-- | logic/minecraft/MinecraftVersion.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/logic/minecraft/MinecraftVersion.h b/logic/minecraft/MinecraftVersion.h index 1539ffd8..b21427d9 100644 --- a/logic/minecraft/MinecraftVersion.h +++ b/logic/minecraft/MinecraftVersion.h @@ -34,7 +34,9 @@ class MULTIMC_LOGIC_EXPORT MinecraftVersion : public BaseVersion, public Profile friend class MinecraftVersionList; public: /* methods */ + // FIXME: nuke this. bool usesLegacyLauncher(); + virtual QString descriptor() override; virtual QString name() override; virtual QString typeString() const override; @@ -89,25 +91,13 @@ private: /* methods */ void applyFileTo(MinecraftProfile *profile); protected: /* data */ - VersionSource m_versionSource = Builtin; + VersionSource m_versionSource = Remote; /// The URL that this version will be downloaded from. QString m_versionFileURL; /// the human readable version name - QString m_name; - - /// the version ID. - QString m_descriptor; - - /// version traits. added by MultiMC - QSet<QString> m_traits; - - /// The main class this version uses (if any, can be empty). - QString m_mainClass; - - /// The applet class this version uses (if any, can be empty). - QString m_appletClass; + QString m_version; /// The type of this release QString m_type; @@ -118,9 +108,6 @@ protected: /* data */ /// the time this version was last updated by Mojang QDateTime m_updateTime; - /// MD5 hash of the minecraft jar - QString m_jarChecksum; - /// order of this file... default = -2 int order = -2; |