aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackIndex.h
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-06-24 14:04:27 +0100
committerGitHub <noreply@github.com>2023-06-24 14:04:27 +0100
commitbcf45c74a1b0b3389c05927637bf8aa95b8e43cf (patch)
treeba0519e490c627d5d491cc4ff980921a84d29c41 /launcher/modplatform/modrinth/ModrinthPackIndex.h
parentdf6d46de9e648284a788a327b87698d58a4fc145 (diff)
parent8b576fd2bd442a61092de870b4323c280b04d2d6 (diff)
downloadPrismLauncher-bcf45c74a1b0b3389c05927637bf8aa95b8e43cf.tar.gz
PrismLauncher-bcf45c74a1b0b3389c05927637bf8aa95b8e43cf.tar.bz2
PrismLauncher-bcf45c74a1b0b3389c05927637bf8aa95b8e43cf.zip
Merge pull request #986 from Trial97/develop
Mod dependencies
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackIndex.h')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackIndex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.h b/launcher/modplatform/modrinth/ModrinthPackIndex.h
index e73e4b18..a8d986c5 100644
--- a/launcher/modplatform/modrinth/ModrinthPackIndex.h
+++ b/launcher/modplatform/modrinth/ModrinthPackIndex.h
@@ -19,8 +19,8 @@
#include "modplatform/ModIndex.h"
-#include "BaseInstance.h"
#include <QNetworkAccessManager>
+#include "BaseInstance.h"
namespace Modrinth {
@@ -31,5 +31,6 @@ void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
const shared_qobject_ptr<QNetworkAccessManager>& network,
const BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj, QString hash_type = "sha512", QString filename_prefer = "") -> ModPlatform::IndexedVersion;
+auto loadDependencyVersions(const ModPlatform::Dependency& m, QJsonArray& arr) -> ModPlatform::IndexedVersion;
} // namespace Modrinth