aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthAPI.h
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-16 20:26:10 -0300
committerflow <flowlnlnln@gmail.com>2023-02-05 17:02:52 -0300
commitc3ea303a3742c886aae9e05d2e5f5fbb497260a1 (patch)
treea6d0d45d75b3761c8b92194d167b7128352efb09 /launcher/modplatform/modrinth/ModrinthAPI.h
parente89a10945c683a1212fa6aa7824173f4f20cdee6 (diff)
downloadPrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.tar.gz
PrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.tar.bz2
PrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.zip
feat(RD): add resource pack downloader
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthAPI.h')
-rw-r--r--launcher/modplatform/modrinth/ModrinthAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h
index dda27303..0b2d149e 100644
--- a/launcher/modplatform/modrinth/ModrinthAPI.h
+++ b/launcher/modplatform/modrinth/ModrinthAPI.h
@@ -68,6 +68,8 @@ class ModrinthAPI : public NetworkResourceAPI {
switch (type) {
case ModPlatform::ResourceType::MOD:
return "mod";
+ case ModPlatform::ResourceType::RESOURCE_PACK:
+ return "resourcepack";
default:
qWarning() << "Invalid resource type for Modrinth API!";
break;