summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftProfile.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-03-21 02:19:23 +0100
committerPetr Mrázek <peterix@gmail.com>2016-03-26 17:05:27 +0100
commitd587720010036e3335e321f192449808a75e958b (patch)
treeda8bafcd9638be6db9f1752c1a475a9099996591 /logic/minecraft/MinecraftProfile.h
parent2929ca74134758bf473cdf6184a045aa863b07cf (diff)
downloadMultiMC-d587720010036e3335e321f192449808a75e958b.tar
MultiMC-d587720010036e3335e321f192449808a75e958b.tar.gz
MultiMC-d587720010036e3335e321f192449808a75e958b.tar.lz
MultiMC-d587720010036e3335e321f192449808a75e958b.tar.xz
MultiMC-d587720010036e3335e321f192449808a75e958b.zip
NOISSUE use new mojang assets locations
Diffstat (limited to 'logic/minecraft/MinecraftProfile.h')
-rw-r--r--logic/minecraft/MinecraftProfile.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/logic/minecraft/MinecraftProfile.h b/logic/minecraft/MinecraftProfile.h
index 6e7e8f74..ce0ff3cf 100644
--- a/logic/minecraft/MinecraftProfile.h
+++ b/logic/minecraft/MinecraftProfile.h
@@ -24,6 +24,7 @@
#include "Library.h"
#include "VersionFile.h"
#include "JarMod.h"
+#include "MojangDownloadInfo.h"
#include "multimc_logic_export.h"
@@ -90,19 +91,19 @@ public: /* application of profile variables from patches */
void applyAppletClass(const QString& appletClass);
void applyMinecraftArguments(const QString& minecraftArguments);
void applyMinecraftVersionType(const QString& type);
- void applyMinecraftAssets(const QString& assets);
+ void applyMinecraftAssets(MojangAssetIndexInfo::Ptr assets);
void applyTraits(const QSet<QString> &traits);
void applyTweakers(const QStringList &tweakers);
void applyJarMods(const QList<JarmodPtr> &jarMods);
void applyLibrary(LibraryPtr library);
void applyProblemSeverity(ProblemSeverity severity);
-public: /* getters for proifile variables */
+public: /* getters for profile variables */
QString getMinecraftVersion() const;
QString getMainClass() const;
QString getAppletClass() const;
QString getMinecraftVersionType() const;
- QString getMinecraftAssets() const;
+ MojangAssetIndexInfo::Ptr getMinecraftAssets() const;
QString getMinecraftArguments() const;
const QSet<QString> & getTraits() const;
const QStringList & getTweakers() const;
@@ -136,7 +137,7 @@ private: /* data */
QString m_minecraftVersionType;
/// Assets type - "legacy" or a version ID
- QString m_minecraftAssets;
+ MojangAssetIndexInfo::Ptr m_minecraftAssets;
/**
* arguments that should be used for launching minecraft