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

Method finishResolvingWithDetails

launcher/minecraft/mod/Mod.cpp:183–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void Mod::finishResolvingWithDetails(ModDetails&& details)
184{
185 m_is_resolving = false;
186 m_is_resolved = true;
187
188 std::shared_ptr<Metadata::ModStruct> metadata = details.metadata;
189 if (details.status == ModStatus::Unknown)
190 details.status = m_local_details.status;
191
192 m_local_details = std::move(details);
193 if (metadata)
194 setMetadata(std::move(metadata));
195}

Callers 1

onParseSucceededMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected