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

Method toJson

launcher/minecraft/Rule.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91QJsonObject ImplicitRule::toJson()
92{
93 QJsonObject ruleObj;
94 ruleObj.insert("action", m_result == Allow ? QString("allow") : QString("disallow"));
95 return ruleObj;
96}
97
98QJsonObject OsRule::toJson()
99{

Callers 15

writeFunction · 0.80
toTextFunction · 0.80
saveGroupListMethod · 0.80
createPackComponentMethod · 0.80
matchFingerprintsMethod · 0.80
getProjectsMethod · 0.80
getFilesMethod · 0.80
currentVersionsMethod · 0.80
latestVersionMethod · 0.80
latestVersionsMethod · 0.80
downloadFinishedMethod · 0.80

Calls 3

QStringClass · 0.85
insertMethod · 0.80
isEmptyMethod · 0.80

Tested by 3

writeJsonMethod · 0.64
test_Through_SimpleMethod · 0.64
test_ThroughMethod · 0.64