| 94 | } |
| 95 | |
| 96 | std::pair<Version, Version> DataPack::compatibleVersions() const |
| 97 | { |
| 98 | if (!s_pack_format_versions.contains(m_pack_format)) { |
| 99 | return { {}, {} }; |
| 100 | } |
| 101 | |
| 102 | return s_pack_format_versions.constFind(m_pack_format).value(); |
| 103 | } |
| 104 | |
| 105 | int DataPack::compare(const Resource& other, SortType type) const |
| 106 | { |