MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / compatibleVersions

Method compatibleVersions

launcher/minecraft/mod/DataPack.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96std::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
105int DataPack::compare(const Resource& other, SortType type) const
106{

Callers 1

dataMethod · 0.45

Calls 2

valueMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected