feat: add more resource pack info
Adds pack format id and description to ResourcePack, that'll be parsed from pack.mcmeta. Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
cda2bfc240
commit
050768c266
4 changed files with 87 additions and 1 deletions
|
@ -80,6 +80,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue