aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlamePackIndex.h
diff options
context:
space:
mode:
authorEzekiel Smith <ezekielsmith@protonmail.com>2022-06-14 23:52:00 +1000
committerGitHub <noreply@github.com>2022-06-14 23:52:00 +1000
commit27239b2dde3b2d6ea300cf4a80518258caae07b1 (patch)
tree4ceeb5699cd481b39491cc17cbc61f548c8fc81a /launcher/modplatform/flame/FlamePackIndex.h
parent349fc4143d4c83c50aa6340bbe7dc537a6fbf949 (diff)
parente64438016040c1a7ad1834a5735d34d6d1ea0cdb (diff)
downloadPrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.tar.gz
PrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.tar.bz2
PrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.zip
Merge pull request #634 from flowln/donate_links
More links for CF / Modrinth mods / modpacks
Diffstat (limited to 'launcher/modplatform/flame/FlamePackIndex.h')
-rw-r--r--launcher/modplatform/flame/FlamePackIndex.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlamePackIndex.h b/launcher/modplatform/flame/FlamePackIndex.h
index 7ffa29c3..1ca0fc0e 100644
--- a/launcher/modplatform/flame/FlamePackIndex.h
+++ b/launcher/modplatform/flame/FlamePackIndex.h
@@ -20,6 +20,13 @@ struct IndexedVersion {
QString downloadUrl;
};
+struct ModpackExtra {
+ QString websiteUrl;
+ QString wikiUrl;
+ QString issuesUrl;
+ QString sourceUrl;
+};
+
struct IndexedPack
{
int addonId;
@@ -28,13 +35,16 @@ struct IndexedPack
QList<ModpackAuthor> authors;
QString logoName;
QString logoUrl;
- QString websiteUrl;
bool versionsLoaded = false;
QVector<IndexedVersion> versions;
+
+ bool extraInfoLoaded = false;
+ ModpackExtra extra;
};
void loadIndexedPack(IndexedPack & m, QJsonObject & obj);
+void loadIndexedInfo(IndexedPack&, QJsonObject&);
void loadIndexedPackVersions(IndexedPack & m, QJsonArray & arr);
}