aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/ComponentUpdateTask.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-20 20:22:12 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-04-07 18:46:00 +0200
commit9349232bd4e6879ab11a3e8aaf5b3e056fdca2d9 (patch)
tree4da0325ed7502671c421155894a816b3dd3bd635 /launcher/minecraft/ComponentUpdateTask.h
parent9eb9ddc6680244f2c10fa3ac50fbbeffefd2db29 (diff)
downloadPrismLauncher-9349232bd4e6879ab11a3e8aaf5b3e056fdca2d9.tar.gz
PrismLauncher-9349232bd4e6879ab11a3e8aaf5b3e056fdca2d9.tar.bz2
PrismLauncher-9349232bd4e6879ab11a3e8aaf5b3e056fdca2d9.zip
refactor: dynamically get best version for intermediary mappings
Diffstat (limited to 'launcher/minecraft/ComponentUpdateTask.h')
-rw-r--r--launcher/minecraft/ComponentUpdateTask.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/ComponentUpdateTask.h b/launcher/minecraft/ComponentUpdateTask.h
index 4274cabb..4fcbbca8 100644
--- a/launcher/minecraft/ComponentUpdateTask.h
+++ b/launcher/minecraft/ComponentUpdateTask.h
@@ -2,6 +2,7 @@
#include "tasks/Task.h"
#include "net/Mode.h"
+#include "Component.h"
#include <memory>
class PackProfile;
@@ -26,6 +27,7 @@ protected:
private:
void loadComponents();
+ QString findBestComponentVersion(ComponentPtr component);
void resolveDependencies(bool checkOnly);
void remoteLoadSucceeded(size_t index);