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

Method loadBody

launcher/modplatform/flame/FlameModIndex.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void FlameMod::loadBody(ModPlatform::IndexedPack& pack, [[maybe_unused]] QJsonObject& obj)
61{
62 pack.extraData.body = api.getModDescription(pack.addonId.toInt());
63
64 if (!pack.extraData.issuesUrl.isEmpty() || !pack.extraData.sourceUrl.isEmpty() || !pack.extraData.wikiUrl.isEmpty())
65 pack.extraDataLoaded = true;
66}
67
68static QString enumToString(int hash_algorithm)
69{

Callers

nothing calls this directly

Calls 2

getModDescriptionMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected