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

Function next

launcher/ui/dialogs/ModUpdateDialog.cpp:320–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320ModPlatform::Provider next(ModPlatform::Provider p)
321{
322 switch (p) {
323 case ModPlatform::Provider::MODRINTH:
324 return ModPlatform::Provider::FLAME;
325 case ModPlatform::Provider::FLAME:
326 return ModPlatform::Provider::MODRINTH;
327 }
328
329 return ModPlatform::Provider::FLAME;
330}
331
332void ModUpdateDialog::onMetadataFailed(Mod* mod, bool try_others, ModPlatform::Provider first_choice)
333{

Callers 4

onMetadataFailedMethod · 0.85
executeTaskMethod · 0.85
nextMethod · 0.85
subtaskSucceededMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected