MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / compatibleVersions

Method compatibleVersions

launcher/minecraft/mod/ResourcePack.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77std::pair<Version, Version> ResourcePack::compatibleVersions() const
78{
79 if (!s_pack_format_versions.contains(m_pack_format)) {
80 return { {}, {} };
81 }
82
83 return s_pack_format_versions.constFind(m_pack_format).value();
84}
85
86std::pair<int, bool> ResourcePack::compare(const Resource& other, SortType type) const
87{

Callers 1

dataMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected