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

Method performPaginatedSearch

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

Source from the content-addressed store, hash-verified

114}
115
116void ListModel::performPaginatedSearch()
117{
118 auto profile = (dynamic_cast<MinecraftInstance*>((dynamic_cast<ModPage*>(parent()))->m_instance))->getPackProfile();
119
120 m_parent->apiProvider()->searchMods(
121 this, { nextSearchOffset, currentSearchTerm, getSorts()[currentSort], profile->getModLoaders(), getMineVersions() });
122}
123
124void ListModel::requestModInfo(ModPlatform::IndexedPack& current, QModelIndex index)
125{

Callers

nothing calls this directly

Calls 4

getPackProfileMethod · 0.80
searchModsMethod · 0.80
apiProviderMethod · 0.80
getModLoadersMethod · 0.80

Tested by

no test coverage detected