diff options
author | flow <flowlnlnln@gmail.com> | 2022-09-07 08:30:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 08:30:36 -0300 |
commit | 333dbca01ed15103b5a36a58a9faad7464ed1582 (patch) | |
tree | 744421e688d8772a9be967de4c3c6fe1cd5230cf /launcher/minecraft/mod/Resource.h | |
parent | 1b0ca476824ad3d704de70720184d2f1e194d2f5 (diff) | |
parent | bedd3c50b6d3c399ccb243c9ea1a62d9b786389f (diff) | |
download | PrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.tar.gz PrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.tar.bz2 PrismLauncher-333dbca01ed15103b5a36a58a9faad7464ed1582.zip |
Merge pull request #1105 from flowln/better_resource_packs
Add basic resource pack parsing and fix issues
Diffstat (limited to 'launcher/minecraft/mod/Resource.h')
-rw-r--r-- | launcher/minecraft/mod/Resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/Resource.h b/launcher/minecraft/mod/Resource.h index cee1f172..f9bd811e 100644 --- a/launcher/minecraft/mod/Resource.h +++ b/launcher/minecraft/mod/Resource.h @@ -20,6 +20,7 @@ enum class SortType { DATE, VERSION, ENABLED, + PACK_FORMAT }; enum class EnableAction { @@ -80,6 +81,7 @@ class Resource : public QObject { [[nodiscard]] auto shouldResolve() const -> bool { return !m_is_resolving && !m_is_resolved; } [[nodiscard]] auto isResolving() const -> bool { return m_is_resolving; } + [[nodiscard]] auto isResolved() const -> bool { return m_is_resolved; } [[nodiscard]] auto resolutionTicket() const -> int { return m_resolution_ticket; } void setResolving(bool resolving, int resolutionTicket) |