diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-03-02 10:08:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 10:08:45 +0000 |
commit | 9265c319a96b3dd5681767c196a397fbbae9164a (patch) | |
tree | 2f2602a604d64201f1d626dc8655d6edfa0b3e0d /launcher/modplatform/modrinth | |
parent | 9f202caf9356ebaf5fd845210adea5e935d4350f (diff) | |
parent | 89255e34bd0651ab226518090667bef92066d80c (diff) | |
download | PrismLauncher-9265c319a96b3dd5681767c196a397fbbae9164a.tar.gz PrismLauncher-9265c319a96b3dd5681767c196a397fbbae9164a.tar.bz2 PrismLauncher-9265c319a96b3dd5681767c196a397fbbae9164a.zip |
Merge pull request #788 from flowln/other_resource_downloaders_two
Add resource pack, texture pack and shader pack downloaders
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthAPI.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h index dda27303..b91ac5c1 100644 --- a/launcher/modplatform/modrinth/ModrinthAPI.h +++ b/launcher/modplatform/modrinth/ModrinthAPI.h @@ -68,6 +68,10 @@ class ModrinthAPI : public NetworkResourceAPI { switch (type) { case ModPlatform::ResourceType::MOD: return "mod"; + case ModPlatform::ResourceType::RESOURCE_PACK: + return "resourcepack"; + case ModPlatform::ResourceType::SHADER_PACK: + return "shader"; default: qWarning() << "Invalid resource type for Modrinth API!"; break; |