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

Method checkFilters

launcher/ui/pages/modplatform/ModModel.cpp:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool ModModel::checkFilters(ModPlatform::IndexedPack::Ptr pack)
108{
109 if (!m_filter)
110 return true;
111 return !(m_filter->hideInstalled && isPackInstalled(pack)) && checkSide(m_filter->side, pack->side);
112}
113
114bool ModModel::checkVersionFilters(const ModPlatform::IndexedVersion& v)
115{

Callers

nothing calls this directly

Calls 1

checkSideFunction · 0.85

Tested by

no test coverage detected