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

Method loadBody

launcher/modplatform/flame/FlameModIndex.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getModDescriptionMethod · 0.80
isEmptyMethod · 0.80

Tested by

no test coverage detected