MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / getMetaURL

Function getMetaURL

launcher/modplatform/ModIndex.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95QString getMetaURL(ResourceProvider provider, QVariant projectID)
96{
97 return ((provider == ModPlatform::ResourceProvider::FLAME) ? "https://www.curseforge.com/projects/" : "https://modrinth.com/mod/") +
98 projectID.toString();
99}
100
101auto getModLoaderAsString(ModLoaderType type) -> const QString
102{

Callers 2

generateHTMLMethod · 0.85
homepageMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected